re PR libgcj/31659 (config-int.h:327:1: error: "INT8_MIN" redefined)
authorAndreas Tobler <a.tobler@schweiz.org>
Sat, 19 May 2007 20:44:43 +0000 (20:44 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Sat, 19 May 2007 20:44:43 +0000 (22:44 +0200)
2007-05-19  Andreas Tobler  <a.tobler@schweiz.org>

PR libgcj/31659
* m4/ax_create_stdint_h.m4: Apply patch from PR31659.
* configure: Regenerate.

From-SVN: r124860

libjava/classpath/ChangeLog
libjava/classpath/configure
libjava/classpath/m4/ax_create_stdint_h.m4

index 526b254ca2a8281e4a5ac18052f5efb402aa53c4..cf778b4a09025564d917003440fe0f8778fabc4a 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-19  Andreas Tobler  <a.tobler@schweiz.org>
+
+       PR libgcj/31659
+       * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
+       * configure: Regenerate.
+
 2007-05-07 Keith Seitz  <keiths@redhat.com>
 
        * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
index 16382ca2d37bb70cd6fd92ed33d72adb76894538..f2a7bb02de392103a10ad13545e1ef01e04f0996 100755 (executable)
@@ -22420,21 +22420,46 @@ typedef           long   intptr_t;
 /* These limits are merily those of a two complement byte-oriented system */
 
 /* Minimum of signed integral types.  */
+#ifndef INT8_MIN
 # define INT8_MIN               (-128)
+#endif
+#ifndef INT16_MIN
 # define INT16_MIN              (-32767-1)
+#endif
+#ifndef INT32_MIN
 # define INT32_MIN              (-2147483647-1)
+#endif
+#ifndef INT64_MIN
 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
+#endif
+
 /* Maximum of signed integral types.  */
+#ifndef INT8_MAX
 # define INT8_MAX               (127)
+#endif
+#ifndef INT16_MAX
 # define INT16_MAX              (32767)
+#endif
+#ifndef INT32_MAX
 # define INT32_MAX              (2147483647)
+#endif
+#ifndef INT64_MAX
 # define INT64_MAX              (__INT64_C(9223372036854775807))
+#endif
 
 /* Maximum of unsigned integral types.  */
+#ifndef UINT8_MAX
 # define UINT8_MAX              (255)
+#endif
+#ifndef UINT16_MAX
 # define UINT16_MAX             (65535)
+#endif
+#ifndef UINT32_MAX
 # define UINT32_MAX             (4294967295U)
+#endif
+#ifndef UINT64_MAX
 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
+#endif
 
 /* Minimum of signed integral types having a minimum size.  */
 # define INT_LEAST8_MIN         INT8_MIN
index acffeb45c65d2a25bdac26439d7bceafa5cf4f55..453af07480e76b62ac722b61a76dbd6947e4946a 100644 (file)
@@ -621,21 +621,46 @@ typedef           long   intptr_t;
 /* These limits are merily those of a two complement byte-oriented system */
 
 /* Minimum of signed integral types.  */
+#ifndef INT8_MIN
 # define INT8_MIN               (-128)
+#endif
+#ifndef INT16_MIN
 # define INT16_MIN              (-32767-1)
+#endif
+#ifndef INT32_MIN
 # define INT32_MIN              (-2147483647-1)
+#endif
+#ifndef INT64_MIN
 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
+#endif
+
 /* Maximum of signed integral types.  */
+#ifndef INT8_MAX
 # define INT8_MAX               (127)
+#endif
+#ifndef INT16_MAX
 # define INT16_MAX              (32767)
+#endif
+#ifndef INT32_MAX
 # define INT32_MAX              (2147483647)
+#endif
+#ifndef INT64_MAX
 # define INT64_MAX              (__INT64_C(9223372036854775807))
+#endif
 
 /* Maximum of unsigned integral types.  */
+#ifndef UINT8_MAX
 # define UINT8_MAX              (255)
+#endif
+#ifndef UINT16_MAX
 # define UINT16_MAX             (65535)
+#endif
+#ifndef UINT32_MAX
 # define UINT32_MAX             (4294967295U)
+#endif
+#ifndef UINT64_MAX
 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
+#endif
 
 /* Minimum of signed integral types having a minimum size.  */
 # define INT_LEAST8_MIN         INT8_MIN