diff options
Diffstat (limited to 'apps/codecs/libgme/emutypes.h')
-rw-r--r-- | apps/codecs/libgme/emutypes.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/apps/codecs/libgme/emutypes.h b/apps/codecs/libgme/emutypes.h new file mode 100644 index 0000000000..bf5d7e1bf2 --- /dev/null +++ b/apps/codecs/libgme/emutypes.h | |||
@@ -0,0 +1,41 @@ | |||
1 | #ifndef _EMUTYPES_H_ | ||
2 | #define _EMUTYPES_H_ | ||
3 | |||
4 | #if defined(_MSC_VER) | ||
5 | #define INLINE __forceinline | ||
6 | #elif defined(__GNUC__) | ||
7 | #define INLINE __inline__ | ||
8 | #elif defined(_MWERKS_) | ||
9 | #define INLINE inline | ||
10 | #else | ||
11 | #define INLINE | ||
12 | #endif | ||
13 | |||
14 | #if defined(EMU_DLL_IMPORTS) | ||
15 | #define EMU2149_DLL_IMPORTS | ||
16 | #define EMU2212_DLL_IMPORTS | ||
17 | #define EMU2413_DLL_IMPORTS | ||
18 | #define EMU8950_DLL_IMPORTS | ||
19 | #define EMU76489_DLL_IMPORTS | ||
20 | #endif | ||
21 | |||
22 | #ifdef __cplusplus | ||
23 | extern "C" { | ||
24 | #endif | ||
25 | |||
26 | typedef unsigned int e_uint; | ||
27 | typedef signed int e_int; | ||
28 | |||
29 | typedef unsigned char e_uint8 ; | ||
30 | typedef signed char e_int8 ; | ||
31 | |||
32 | typedef unsigned short e_uint16 ; | ||
33 | typedef signed short e_int16 ; | ||
34 | |||
35 | typedef unsigned int e_uint32 ; | ||
36 | typedef signed int e_int32 ; | ||
37 | |||
38 | #ifdef __cplusplus | ||
39 | } | ||
40 | #endif | ||
41 | #endif | ||