OSDN Git Service

If we don't have <limits.h>, try including <sys/param.h> if we have it.
authornickc <nickc>
Thu, 14 Dec 2000 20:16:19 +0000 (20:16 +0000)
committernickc <nickc>
Thu, 14 Dec 2000 20:16:19 +0000 (20:16 +0000)
gas/ChangeLog
gas/dwarf2dbg.c

index 2833ddf..977bd04 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
+       if we have it.
+
 2000-12-13  Kazu Hirata  <kazu@hxi.com>
 
        * as.h: Fix formatting.
index 578b230..9080b67 100644 (file)
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #else
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
 #ifndef INT_MAX
 #define INT_MAX (int) (((unsigned) (-1)) >> 1)
 #endif
-#endif
 
 #ifdef BFD_ASSEMBLER