foo
[dos_low3d] / src / types.h
index 2a747c3..fd0b235 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef TYPES_H_
 #define TYPES_H_
 
+#if defined(__WATCOMC__) && __WATCOMC__ < 1200
 typedef signed char int8_t;
 typedef short int16_t;
 typedef long int32_t;
@@ -11,5 +12,8 @@ typedef unsigned long uint32_t;
 
 typedef long intptr_t;
 typedef unsigned long uintptr_t;
+#else
+#include <stdint.h>
+#endif
 
 #endif /* TYPES_H_ */