aboutsummaryrefslogtreecommitdiff
path: root/src/chips/opl_chip_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chips/opl_chip_base.h')
-rw-r--r--src/chips/opl_chip_base.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chips/opl_chip_base.h b/src/chips/opl_chip_base.h
index 75dd903..fb9b9e9 100644
--- a/src/chips/opl_chip_base.h
+++ b/src/chips/opl_chip_base.h
@@ -4,8 +4,7 @@
#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
+#if !defined(_MSC_VER) && (__cplusplus <= 199711L)
#define final
#define override
#endif