From 68314cf07b4f17a03a5360de71ebf29722b08528 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Mon, 23 Apr 2018 00:14:33 +0300 Subject: Small fix for Android. TODO: Make a fix of this for MSVC --- src/chips/opl_chip_base.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 #include +/* 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: -- cgit v1.2.3