diff options
-rw-r--r-- | src/chips/opl_chip_base.h | 6 |
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: |