aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--include/bits/xopen_lim.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 591952c..7626de1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-09-16 Ulrich Drepper <drepper@redhat.com>
+ * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
+ Patch by Thorsten Kukuk <kukuk@suse.de>.
+
* dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
(test): Add default.
(modules-names): Add defaultmod1 and defaultmod2.
diff --git a/include/bits/xopen_lim.h b/include/bits/xopen_lim.h
index e1f0a44..823c801 100644
--- a/include/bits/xopen_lim.h
+++ b/include/bits/xopen_lim.h
@@ -104,7 +104,7 @@
#endif
/* Number of bits in a word of type `long int'. */
-#if INT_MAX == 2147483647
+#if LONG_MAX == 2147483647
# define LONG_BIT 32
#else
/* Safe assumption. */