From c29a149aff1aea831e5d7a07b973d9dacfcd4c5e Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Wed, 20 Dec 2023 20:07:27 -0500 Subject: [PATCH] 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. --- include/Runtime.PPCEABI.H/__va_arg.h | 2 +- include/global.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Runtime.PPCEABI.H/__va_arg.h b/include/Runtime.PPCEABI.H/__va_arg.h index 872e91496..002836108 100644 --- a/include/Runtime.PPCEABI.H/__va_arg.h +++ b/include/Runtime.PPCEABI.H/__va_arg.h @@ -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 diff --git a/include/global.h b/include/global.h index ffdc54280..7cc77b655 100644 --- a/include/global.h +++ b/include/global.h @@ -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