Improve IDE support

This commit is contained in:
Jademalo
2021-10-22 04:30:33 +01:00
parent 0fbf5f59b3
commit eb860a368e
2 changed files with 3 additions and 5 deletions

View File

@@ -20,11 +20,9 @@
#define NAKED __attribute__((naked))
// IDE support
#if defined (__APPLE__) || defined (__CYGWIN__) || defined (_MSC_VER)
#if defined (__APPLE__) || defined (__CYGWIN__) || defined (__INTELLISENSE__)
#define _(x) x
#define __(x) x
// Fool CLion IDE
#define INCBIN(x) {0}
#define INCBIN_U8 INCBIN
#define INCBIN_U16 INCBIN