mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 23:23:28 +02:00
@@ -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))
|
||||
|
Reference in New Issue
Block a user