(ONLY_INT_FIELDS): Define if not __GNUC__.
authorRichard Stallman <rms@gnu.org>
Sun, 13 Dec 1992 01:43:14 +0000 (01:43 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 13 Dec 1992 01:43:14 +0000 (01:43 +0000)
(ONLY_INT_FIELDS): Define if not __GNUC__.
(CODE_FIELD_BUG): Likewise.

From-SVN: r2871

gcc/config/i386/xm-sco.h

index 4177ae15768e3d348e5a3ee1cf6d27165a0eca8a..b8bf5bd5ccb567219f043efaf4136de34f553a77 100644 (file)
@@ -9,3 +9,11 @@
 /* Big buffers improve performance.  */
 
 #define IO_BUFFER_SIZE (0x8000 - 1024)
+
+#ifndef __GNUC__
+/* The SCO compiler gets it wrong, and treats enumerated bitfields
+   as signed quantities, making it impossible to use an 8-bit enum
+   for compiling GNU C++.  */
+#define ONLY_INT_FIELDS 1
+#define CODE_FIELD_BUG 1
+#endif