[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] Re: size_max
From: |
Simon Josefsson |
Subject: |
[bug-gnulib] Re: size_max |
Date: |
Fri, 21 Jan 2005 11:20:01 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
2004-12-28 Simon Josefsson <address@hidden>
* modules/size_max: New file.
* modules/xsize: Depend on size_max module for size_max.m4.
2005-01-21 Simon Josefsson <address@hidden>
* size_max.h: New file.
Index: modules/xsize
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xsize,v
retrieving revision 1.4
diff -u -p -r1.4 xsize
--- modules/xsize 29 Sep 2004 18:51:43 -0000 1.4
+++ modules/xsize 21 Jan 2005 10:18:11 -0000
@@ -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
Index: modules/size_max
===================================================================
RCS file: modules/size_max
diff -N modules/size_max
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ modules/size_max 21 Jan 2005 10:18:11 -0000
@@ -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:
+Bruno Haible
+
Index: lib/size_max.h
===================================================================
RCS file: lib/size_max.h
diff -N lib/size_max.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lib/size_max.h 21 Jan 2005 10:18:11 -0000
@@ -0,0 +1,26 @@
+/* size_max.h -- declare SIZE_MAX through system headers
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#ifndef GNULIB_SIZE_MAX_H
+#define GNULIB_SIZE_MAX_H
+
+# include <limits.h>
+# if HAVE_STDINT_H
+# include <stdint.h>
+# endif
+
+#endif /* GNULIB_SIZE_MAX_H */