4 #ifndef SDCCCONF_HEADER
5 #define SDCCCONF_HEADER
11 #undef SDCC_VERSION_STR
13 #undef DIR_SEPARATOR_STRING
14 #undef DIR_SEPARATOR_CHAR
21 #undef INCLUDE_DIR_SUFFIX
26 #undef PREFIX2DATA_DIR
28 /* environment variables */
30 #undef SDCC_INCLUDE_NAME
33 /* standard libraries */
58 * find out the endianess of host machine
59 * in order to be able to make Mac OS X unified binaries
61 #if __BIG_ENDIAN__ || _BIG_ENDIAN
62 /* 1) trust the compiler */
63 # define WORDS_BIGENDIAN 1
64 #elif __LITTLE_ENDIAN__
66 #elif (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
67 /* 2) trust the header files */
68 # if BYTE_ORDER == BIG_ENDIAN
69 # define WORDS_BIGENDIAN 1
72 /* 3) trust the configure; this actually doesn't work for unified Mac OS X binaries :-( */
73 # undef BUILD_WORDS_BIGENDIAN
74 # if (defined BUILD_WORDS_BIGENDIAN && BUILD_WORDS_BIGENDIAN)
75 # define WORDS_BIGENDIAN 1
77 /* 4) assume that host is a little endian machine */
80 #undef OPT_DISABLE_MCS51
81 #undef OPT_DISABLE_GBZ80
82 #undef OPT_DISABLE_Z80
83 #undef OPT_DISABLE_AVR
84 #undef OPT_DISABLE_DS390
85 #undef OPT_DISABLE_DS400
86 #undef OPT_DISABLE_TININative
87 #undef OPT_DISABLE_PIC
88 #undef OPT_DISABLE_PIC16
89 #undef OPT_DISABLE_XA51
90 #undef OPT_DISABLE_HC08
92 #undef OPT_ENABLE_LIBGC