Changed definitions of string conversion IDE macros to allow their use in compound literals without IDE errors
This commit is contained in:
+2
-2
@@ -27,8 +27,8 @@
|
|||||||
/// IDE support
|
/// IDE support
|
||||||
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__)
|
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__)
|
||||||
// We define these when using certain IDEs to fool preproc
|
// We define these when using certain IDEs to fool preproc
|
||||||
#define _(x) (x)
|
#define _(x) {x}
|
||||||
#define __(x) (x)
|
#define __(x) {x}
|
||||||
#define INCBIN(...) {0}
|
#define INCBIN(...) {0}
|
||||||
#define INCBIN_U8 INCBIN
|
#define INCBIN_U8 INCBIN
|
||||||
#define INCBIN_U16 INCBIN
|
#define INCBIN_U16 INCBIN
|
||||||
|
|||||||
Reference in New Issue
Block a user