diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-17 01:38:53 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-17 01:38:53 +0300 |
commit | 7b47647366123ee9f9e41312d639024680101234 (patch) | |
tree | d2eb0a13672a7d79ad876265e2e579c245a2bb14 | |
parent | f1bad3e1e3f64f19f3c057263be1a022fb269ca2 (diff) | |
download | libADLMIDI-7b47647366123ee9f9e41312d639024680101234.tar.gz libADLMIDI-7b47647366123ee9f9e41312d639024680101234.tar.bz2 libADLMIDI-7b47647366123ee9f9e41312d639024680101234.zip |
Auto-define missing int types to build on Watcom with C90
-rw-r--r-- | src/wopl/wopl_file.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wopl/wopl_file.h b/src/wopl/wopl_file.h index f5d816b..0e38842 100644 --- a/src/wopl/wopl_file.h +++ b/src/wopl/wopl_file.h @@ -32,6 +32,14 @@ extern "C" { #endif +#if !defined(__STDC_VERSION__) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ < 199901L)) \ + || defined(__STRICT_ANSI__) || !defined(__cplusplus) +typedef signed char int8_t; +typedef unsigned char uint8_t; +typedef signed short int int16_t; +typedef unsigned short int uint16_t; +#endif + /* Global OPL flags */ typedef enum WOPLFileFlags { |