aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-04-23 00:14:33 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-04-23 00:14:33 +0300
commitdbd5ab50ebc1bf174d1364b31083ee7439c1e349 (patch)
tree5d4aa029dc6e2657fef862eb71bf1714e8b5b087
parentd7a0dab8590790c1bcbfc68605bbce6f2ccfd54c (diff)
downloadlibADLMIDI-dbd5ab50ebc1bf174d1364b31083ee7439c1e349.tar.gz
libADLMIDI-dbd5ab50ebc1bf174d1364b31083ee7439c1e349.tar.bz2
libADLMIDI-dbd5ab50ebc1bf174d1364b31083ee7439c1e349.zip
Small fix for Android. TODO: Make a fix of this for MSVC
-rw-r--r--src/chips/opl_chip_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/chips/opl_chip_base.h b/src/chips/opl_chip_base.h
index 3ab4cb8..75dd903 100644
--- a/src/chips/opl_chip_base.h
+++ b/src/chips/opl_chip_base.h
@@ -4,6 +4,12 @@
#include <stdint.h>
#include <stddef.h>
+/* TODO: MSVC: Use MSVC versioing instead of this to detect does it supports those C++11 keywords or not */
+#if __cplusplus <= 199711L
+#define final
+#define override
+#endif
+
class OPLChipBase
{
protected: