IDE support formatting and consistency

This commit is contained in:
Jademalo
2021-10-23 10:10:06 +01:00
parent 46867c546d
commit 1c4d5bfed0
2 changed files with 22 additions and 20 deletions
+4 -3
View File
@@ -7,9 +7,10 @@
// IDE support // IDE support
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__) #if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__)
#define _(x) x // We define these when using certain IDEs to fool preproc
#define __(x) x #define _(x) (x)
#define INCBIN(x) {0} #define __(x) (x)
#define INCBIN(...) {0}
#define INCBIN_U8 INCBIN #define INCBIN_U8 INCBIN
#define INCBIN_U16 INCBIN #define INCBIN_U16 INCBIN
#define INCBIN_U32 INCBIN #define INCBIN_U32 INCBIN
+4 -3
View File
@@ -18,9 +18,10 @@
// IDE support // IDE support
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__) #if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__)
#define _(x) x // We define these when using certain IDEs to fool preproc
#define __(x) x #define _(x) (x)
#define INCBIN(x) {0} #define __(x) (x)
#define INCBIN(...) {0}
#define INCBIN_U8 INCBIN #define INCBIN_U8 INCBIN
#define INCBIN_U16 INCBIN #define INCBIN_U16 INCBIN
#define INCBIN_U32 INCBIN #define INCBIN_U32 INCBIN