aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/opl
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-06 20:05:58 +0000
committerJohannes Schickel2009-05-06 20:05:58 +0000
commit262363f2b3383f506f6e43838eae8b4b3ea78e30 (patch)
tree84d250b9191fb600f8b2a0db6bdd528eecfc1182 /sound/softsynth/opl
parent8803d4b3a60aab20179cfcef360ddebb11e12512 (diff)
downloadscummvm-rg350-262363f2b3383f506f6e43838eae8b4b3ea78e30.tar.gz
scummvm-rg350-262363f2b3383f506f6e43838eae8b4b3ea78e30.tar.bz2
scummvm-rg350-262363f2b3383f506f6e43838eae8b4b3ea78e30.zip
Another attempt at fixing MSVC compiliation. (someone test this please ;-)
svn-id: r40364
Diffstat (limited to 'sound/softsynth/opl')
-rw-r--r--sound/softsynth/opl/opl.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/softsynth/opl/opl.h b/sound/softsynth/opl/opl.h
index abcfc8bbbc..0798bd9f6a 100644
--- a/sound/softsynth/opl/opl.h
+++ b/sound/softsynth/opl/opl.h
@@ -30,14 +30,14 @@
define Bits, Bitu, Bit32s, Bit32u, Bit16s, Bit16u, Bit8s, Bit8u here
*/
-typedef uint Bitu;
-typedef int Bits;
-typedef uint32 Bit32u;
-typedef int32 Bit32s;
-typedef uint16 Bit16u;
-typedef int16 Bit16s;
-typedef uint8 Bit8u;
-typedef int8 Bit8s;
+#define Bitu uint
+#define Bits int
+#define Bit32u uint32
+#define Bit32s int32
+#define Bit16u uint16
+#define Bit16s int16
+#define Bit8u uint8
+#define Bit8s int8
#undef NUM_CHANNELS
#if defined(OPLTYPE_IS_OPL3)