]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Rely on SIZE_MAX.
authorBruno Haible <bruno@clisp.org>
Wed, 12 Nov 2003 11:09:45 +0000 (11:09 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:14 +0000 (12:11 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/xsize.h
gettext-tools/m4/ChangeLog
gettext-tools/m4/Makefile.am

index f17d7937c07f949f13c41fb3bdd5ec0a648f6e40..7004891ad9f53f1ce6af755649224e6013305330 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * xsize.h (SIZE_MAX): Remove fallback definition.
+
 2003-11-05  Bruno Haible  <bruno@clisp.org>
 
        * xsize.h: Include limits.h, to avoid a possible collision with
index 34919f8b7ca3dff31335602daa2a3c13d2f9589f..42aa68a2a90da1f77ad0e3a13be6d540b9d436e4 100644 (file)
@@ -27,9 +27,6 @@
 #if HAVE_STDINT_H
 # include <stdint.h>
 #endif
-#ifndef SIZE_MAX
-# define SIZE_MAX ((size_t) -1)
-#endif
 
 /* The size of memory objects is often computed through expressions of
    type size_t. Example:
index a4e58fdce8cb29fdeed1ed62c9af9b80ba0385d2..ac20ac752ff27f3dedaec55fe520eb2e795bdc78 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * size_max.m4: New file, from gnulib.
+       * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
+       * Makefile.am (EXTRA_DIST): Add size_max.m4.
+
 2003-11-04  Bruno Haible  <bruno@clisp.org>
 
        * xsize.m4: New file.
index 26f947c2805ebe67fa22c09f6dd91547c56c8fa1..bb5c5c8c9ea63d06686c348b5dd28d7423e16857 100644 (file)
@@ -61,6 +61,7 @@ setlocale.m4 \
 sig_atomic_t.m4 \
 siginfo.m4 \
 signalblocking.m4 \
+size_max.m4 \
 ssize_t.m4 \
 stdbool.m4 \
 strerror.m4 \