avoid collision with result's geode_concat macro

This commit is contained in:
matcool 2024-11-10 10:14:46 -03:00
parent 12e8bbb6a2
commit 7b171c56c9

View file

@ -18,8 +18,10 @@
return s_##name; \ return s_##name; \
} }
#define GEODE_WRAPPER_CONCAT(x, y) x##y #if !defined(GEODE_CONCAT)
#define GEODE_CONCAT(x, y) GEODE_WRAPPER_CONCAT(x, y) #define GEODE_WRAPPER_CONCAT(x, y) x##y
#define GEODE_CONCAT(x, y) GEODE_WRAPPER_CONCAT(x, y)
#endif
#define GEODE_WRAPPER_STR(...) #__VA_ARGS__ #define GEODE_WRAPPER_STR(...) #__VA_ARGS__
#define GEODE_STR(...) GEODE_WRAPPER_STR(__VA_ARGS__) #define GEODE_STR(...) GEODE_WRAPPER_STR(__VA_ARGS__)