compatStdint.h (913B)
1 #ifndef __QUEX_INCLUDE_GUARD__COMPATIBILITY__STDINT_H 2 #define __QUEX_INCLUDE_GUARD__COMPATIBILITY__STDINT_H 3 /* NOTE: At the time of this writing (Aug. 2007) there are still some 4 * compilers that do not support C99 Standard completely and 5 * do not provided 'stdint.h' and 'stdint.h' along with their 6 * compiler package (e.g. a major Redmondian Company). For this 7 * reason this header creates som adaptions. */ 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 #if defined (_MSC_VER) 14 # include <quex/code_base/compatibility/win/msc_stdint.h> 15 #elif defined(__BORLANDC__) 16 # include <quex/code_base/compatibility/win/borland_stdint.h> 17 #elif defined(__sun) && defined(__sparc) 18 # include <inttypes.h> /* Thanks to sbellon@users.sourceforge.net */ 19 #else 20 # include <stdint.h> 21 #endif 22 23 #ifdef __cplusplus 24 } /* extern "C" */ 25 #endif 26 27 #endif /* __QUEX_INCLUDE_GUARD__COMPATIBILITY__STDINT_H */