SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit bce413821d4de61a04f82adc76e5b04222248aa0 parent 1c8a14ff1c711f03449272f0add4bd2d6275f6bd Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 26 Nov 2023 19:39:23 +0200 Merge pull request #569 from SnowyMouse/gbenum-fix Fix GB_ENUM on C++ Diffstat:
| M | Core/save_state.h | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/save_state.h b/Core/save_state.h @@ -25,7 +25,7 @@ #endif #endif -#if __clang_major__ >= 8 || __GNUC__ >= 13 +#if __clang_major__ >= 8 || __GNUC__ >= 13 || defined(__cplusplus) #define GB_ENUM(type, ...) enum : type __VA_ARGS__ #else #define GB_ENUM(type, ...) __typeof__((type)((enum __VA_ARGS__)0))
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.