aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2021-05-24 22:19:30 +0300
committerWohlstand <admin@wohlnet.ru>2021-05-24 22:19:30 +0300
commit71b4a1e19d3c47d2b34e90cca98482c3318edae7 (patch)
tree70d39d528a7fd5dad9b57860d4ee23a06a8e6d47 /src
parentcf386ab0529077495f83cb36a5fe410ca1f3a700 (diff)
parent7dc9d86c7ae316be690a000fb8e03ab229fcaa21 (diff)
downloadlibADLMIDI-71b4a1e19d3c47d2b34e90cca98482c3318edae7.tar.gz
libADLMIDI-71b4a1e19d3c47d2b34e90cca98482c3318edae7.tar.bz2
libADLMIDI-71b4a1e19d3c47d2b34e90cca98482c3318edae7.zip
Merge branch 'master' of github.com:Wohlstand/libADLMIDI
Diffstat (limited to 'src')
-rw-r--r--src/wopl/wopl_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wopl/wopl_file.h b/src/wopl/wopl_file.h
index ab8f996..c0e49f2 100644
--- a/src/wopl/wopl_file.h
+++ b/src/wopl/wopl_file.h
@@ -34,11 +34,14 @@ extern "C" {
#if !defined(__STDC_VERSION__) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ < 199901L)) \
|| defined(__STRICT_ANSI__) || !defined(__cplusplus)
+/* Solaris defines the integer types regardless of what C/C++ standard is actually available, so avoid defining them at all by ourselves. */
+#ifndef __sun
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int int16_t;
typedef unsigned short int uint16_t;
#endif
+#endif
/* Global OPL flags */
typedef enum WOPLFileFlags