mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-01 19:30:21 -04:00
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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user