From fe1117b3415a6399a047bce3a9a88d6780b47321 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 6 Jan 2024 10:33:00 -0800 Subject: [PATCH] fix some build errors --- src/JSystem/J2DGraph/J2DTextBox.cpp | 1 + src/PowerPC_EABI_Support/Runtime/Inc/__va_arg.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/JSystem/J2DGraph/J2DTextBox.cpp b/src/JSystem/J2DGraph/J2DTextBox.cpp index 2fd7e2840..8c73bd358 100644 --- a/src/JSystem/J2DGraph/J2DTextBox.cpp +++ b/src/JSystem/J2DGraph/J2DTextBox.cpp @@ -7,6 +7,7 @@ #include "JSystem/JKernel/JKRFileLoader.h" #include "JSystem/JSupport/JSURandomInputStream.h" #include "JSystem/JUtility/JUTResource.h" +#include "__va_arg.h" /* 802D51D8-802D5268 .text __ct__10J2DTextBoxFPCcPCc */ J2DTextBox::J2DTextBox(const char* font, const char* str) : mpFont(NULL), mStringPtr(NULL) { diff --git a/src/PowerPC_EABI_Support/Runtime/Inc/__va_arg.h b/src/PowerPC_EABI_Support/Runtime/Inc/__va_arg.h index e45e0751d..a2e7a45fe 100644 --- a/src/PowerPC_EABI_Support/Runtime/Inc/__va_arg.h +++ b/src/PowerPC_EABI_Support/Runtime/Inc/__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 defined __INTELLISENSE__ #define __builtin_va_info(...) #define _var_arg_typeof(...) #endif