From 0ca3584fa4028577978328bc4919e1c9429a728e Mon Sep 17 00:00:00 2001 From: Albert Hung Date: Tue, 17 Dec 2024 10:13:57 +0800 Subject: [PATCH] Fix ARM Compiler build errors Fix build errors on ARM Compiler 5 (DS-5) by treating the compiler like QNX, Borland C, and the Android NDK for purposes of system header includes. --- tinyxml2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 769ccfe..66ef0c9 100644 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -24,7 +24,7 @@ distribution. #include "tinyxml2.h" #include // yes, this one new style header, is in the Android SDK. -#if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(__QNXNTO__) +#if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(__QNXNTO__) || defined(__CC_ARM) # include # include #else