From 22350acc1f699f70cbdac6b5facadd0d6ccc8a7f Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 7 Nov 2017 01:12:01 +0300 Subject: New API, classic ADLMIDI, and CMake - Attempt to support hardware OPL and add build of classic ADLMIDI into CMake - Added new API functions - Added C++ Extras are needed for classic ADLMIDI player - Error string is no more static. Static variant is kept for initialization errors only. --- src/adlmidi_mus2mid.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/adlmidi_mus2mid.h') diff --git a/src/adlmidi_mus2mid.h b/src/adlmidi_mus2mid.h index c56c359..cc41b87 100644 --- a/src/adlmidi_mus2mid.h +++ b/src/adlmidi_mus2mid.h @@ -24,6 +24,15 @@ #include +#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" { -- cgit v1.2.3