summary refs log tree commit diff
path: root/include/bits
diff options
context:
space:
mode:
Diffstat (limited to 'include/bits')
-rw-r--r--include/bits/xopen_lim.h2
1 files changed, 1 insertions, 1 deletions
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.  */