aboutsummaryrefslogtreecommitdiff
path: root/src
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:15:12 +0300
commit68314cf07b4f17a03a5360de71ebf29722b08528 (patch)
tree5442bc69b89f3f719485dd92f9193feac5d1b01d /src
parent418a810bc37033cf045b859b71afe9215f3f041b (diff)
downloadlibADLMIDI-68314cf07b4f17a03a5360de71ebf29722b08528.tar.gz
libADLMIDI-68314cf07b4f17a03a5360de71ebf29722b08528.tar.bz2
libADLMIDI-68314cf07b4f17a03a5360de71ebf29722b08528.zip
Small fix for Android. TODO: Make a fix of this for MSVC
Diffstat (limited to 'src')
-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: