From: Simon Josefsson Date: Mon, 11 Jul 2005 19:13:35 +0000 (+0000) Subject: * size_max.h: New file. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=414353f839d107fb5ea1e030961ba5a69962f692;p=pspp * size_max.h: New file. * modules/size_max: New file. * modules/xsize: Depend on size_max module for size_max.m4. --- diff --git a/ChangeLog b/ChangeLog index 752405f80d..6e3dc1d3ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-11 Simon Josefsson + + * modules/size_max: New file. + + * modules/xsize: Depend on size_max module for size_max.m4. + 2005-07-09 Bruno Haible * gnulib-tool (func_usage): Document option --avoid. diff --git a/lib/ChangeLog b/lib/ChangeLog index 5cbefa848a..57d7366121 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-07-11 Simon Josefsson + + * size_max.h: New file. + 2005-07-09 Sergey Poznyakoff * argp-namefrob.h: Include unlocked-io.h. Removed unnecessary diff --git a/lib/size_max.h b/lib/size_max.h new file mode 100644 index 0000000000..ce2377b5cf --- /dev/null +++ b/lib/size_max.h @@ -0,0 +1,27 @@ +/* size_max.h -- declare SIZE_MAX through system headers + Copyright (C) 2005 Free Software Foundation, Inc. + Written by Simon Josefsson. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef GNULIB_SIZE_MAX_H +#define GNULIB_SIZE_MAX_H + +# include +# if HAVE_STDINT_H +# include +# endif + +#endif /* GNULIB_SIZE_MAX_H */ diff --git a/modules/size_max b/modules/size_max new file mode 100644 index 0000000000..82dd0687a4 --- /dev/null +++ b/modules/size_max @@ -0,0 +1,23 @@ +Description: +Provide SIZE_MAX. + +Files: +m4/size_max.m4 +lib/size_max.h + +Depends-on: + +configure.ac: +gl_SIZE_MAX + +Makefile.am: + +Include: +#include "size_max.h" + +License: +LGPL + +Maintainer: +Simon Josefsson +Bruno Haible diff --git a/modules/xsize b/modules/xsize index 41a280e32d..5f22f2cc8b 100644 --- a/modules/xsize +++ b/modules/xsize @@ -4,9 +4,9 @@ Checked size_t computations. Files: lib/xsize.h m4/xsize.m4 -m4/size_max.m4 Depends-on: +size_max configure.ac: gl_XSIZE