summaryrefslogtreecommitdiff
path: root/opl/dbopl.h
diff options
context:
space:
mode:
authorSimon Howard2011-03-03 21:41:51 +0000
committerSimon Howard2011-03-03 21:41:51 +0000
commit6a5d123fc662bcdbc08d973e3b8b79a95f24fa51 (patch)
tree6441eba586e4763cf6d1d4e71e0f6b4764cdba92 /opl/dbopl.h
parent909d93ce182c215fddcd48acec9dd291dd8aba34 (diff)
downloadchocolate-doom-6a5d123fc662bcdbc08d973e3b8b79a95f24fa51.tar.gz
chocolate-doom-6a5d123fc662bcdbc08d973e3b8b79a95f24fa51.tar.bz2
chocolate-doom-6a5d123fc662bcdbc08d973e3b8b79a95f24fa51.zip
Fix Visual Studio build (thanks GhostlyDeath).
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2287
Diffstat (limited to 'opl/dbopl.h')
-rw-r--r--opl/dbopl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/opl/dbopl.h b/opl/dbopl.h
index a5c10bfd..63aa1330 100644
--- a/opl/dbopl.h
+++ b/opl/dbopl.h
@@ -200,4 +200,7 @@ void Chip__Chip(Chip *self);
void Chip__WriteReg(Chip *self, Bit32u reg, Bit8u val );
void Chip__GenerateBlock2(Chip *self, Bitu total, Bit32s* output );
-
+// haleyjd 09/09/10: Not standard C.
+#ifdef _MSC_VER
+#define inline __inline
+#endif