* stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
[pspp] / lib / ChangeLog
index 94df670f3b8f1167ce4ef3534b3e01907e5122e7..2602de844b2c31fae4e83365a2c28cf31a69c825 100644 (file)
@@ -1,5 +1,14 @@
 2005-11-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
+       (uintmax_t) [defined uintmax_t]: Do not declare.
+       (SIZE_MAX) [defined SIZE_MAX]: Do not define.
+       This works around a problem if intmax_t.m4 and/or uintmax_t.m4
+       and/or size_max.m4 are also used.  Problem reported by Mark D. Baushke.
+       (SIZE_MAX): Define to ((size_t) -1), not (~(size_t)0), for the
+       sake of portability to weird hosts that C allows (though we don't
+       know of any practical examples).
+
        * savedir.h (fdsavedir): New decl.
        * savedir.c (fdsavedir, savedirstream): New functions; the latter
        contains most of the former guts of savedir.