improved the soundblaster code, but still doesn't work on the real
[dos_sbtest] / src / inttypes.h
diff --git a/src/inttypes.h b/src/inttypes.h
new file mode 100644 (file)
index 0000000..1742166
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef INT_TYPES_H_
+#define INT_TYPES_H_
+
+#if defined(__DOS__) || defined(WIN32)
+typedef char int8_t;
+typedef short int16_t;
+typedef long int32_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned long uint32_t;
+
+typedef unsigned long intptr_t;
+#else
+#include <stdint.h>
+#endif
+
+#endif /* INT_TYPES_H_ */