blank dos build
[retrobench] / src / util.h
index 9b04f0d..9f0eb4d 100644 (file)
@@ -1,6 +1,17 @@
 #ifndef UTIL_H_
 #define UTIL_H_
 
+#ifdef NO_STDINT_H
+typedef char int8_t;
+typedef unsigned char uint8_t;
+typedef short int16_t;
+typedef unsigned short uint16_t;
+typedef int int32_t;
+typedef unsigned int uint32_t;
+#else
+#include <stdint.h>
+#endif
+
 extern int sinlut[];
 
 #define SIN(x) sinlut[(x) & 0xff]