about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-16 17:51:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-16 17:51:14 +0000
commit392a9239981d9855a7ff70b62de1b1518b137f5b (patch)
tree64409fc6bc08dd916bbed386e0b774d4f5607a73
parent3fe400152688be6f4fea1f9dd07e8d8fe5be4e46 (diff)
downloadglibc-392a9239981d9855a7ff70b62de1b1518b137f5b.tar.gz
glibc-392a9239981d9855a7ff70b62de1b1518b137f5b.tar.xz
glibc-392a9239981d9855a7ff70b62de1b1518b137f5b.zip
Update.
	* include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
	Patch by Thorsten Kukuk <kukuk@suse.de>.
-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 591952c397..7626de1ebd 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 e1f0a440d0..823c801e48 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.  */