mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-29 02:45:38 -05:00
avoid collision with result's geode_concat macro
This commit is contained in:
parent
12e8bbb6a2
commit
7b171c56c9
1 changed files with 4 additions and 2 deletions
|
@ -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__)
|
||||||
|
|
Loading…
Reference in a new issue