IN_VSCODE_EDITOR -> __INTELLISENSE__

IN_VSCODE_EDITOR doesn't work for me and I can't find any reference for it existing.
__INTELLISENSE__ seems to be the standard define to check for this.
This commit is contained in:
LagoLunatic
2023-12-20 20:07:27 -05:00
parent df6853e917
commit c29a149aff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ extern "C" void* __va_arg(_va_list_struct*, int);
void* __va_arg(_va_list_struct*, int);
#endif
#if IN_VSCODE_EDITOR
#if __INTELLISENSE__
#define __builtin_va_info(...)
#define _var_arg_typeof(...)
#endif
+1 -1
View File
@@ -22,7 +22,7 @@
#define _SDA_BASE_(dummy) 0
#define _SDA2_BASE_(dummy) 0
#ifndef IN_VSCODE_EDITOR
#ifndef __INTELLISENSE__
#ifndef offsetof
#define offsetof(type, member) ((size_t) & (((type*)0)->member))
#endif