aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_xmi2mid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adlmidi_xmi2mid.h')
-rw-r--r--src/adlmidi_xmi2mid.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/adlmidi_xmi2mid.h b/src/adlmidi_xmi2mid.h
index 523e8d7..950d58c 100644
--- a/src/adlmidi_xmi2mid.h
+++ b/src/adlmidi_xmi2mid.h
@@ -27,6 +27,15 @@
#include <stdint.h>
+#ifdef __DJGPP__
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed long int32_t;
+typedef unsigned long uint32_t;
+#endif
+
#ifdef __cplusplus
extern "C"
{