01a63d90e004e981296e6255d5764590e8f0b966
[fw/sdcc] / support / cpp / i386 / xm-sco.h
1 /* Configuration for GCC for Intel i386 running SCO.  */
2
3 #include "i386/xm-sysv3.h"
4
5 /* On SCO 3.2.1, ldexp rejects values outside [0.5, 1). */
6
7 #define BROKEN_LDEXP
8
9 /* Big buffers improve performance.  */
10
11 #define IO_BUFFER_SIZE (0x8000 - 1024)
12
13 /* SCO has a very small ARG_MAX.  */
14 #define SMALL_ARG_MAX
15
16 #ifndef __GNUC__
17 /* The SCO compiler gets it wrong, and treats enumerated bitfields
18    as signed quantities, making it impossible to use an 8-bit enum
19    for compiling GNU C++.  */
20 #define ONLY_INT_FIELDS 1
21 #define CODE_FIELD_BUG 1
22 #endif