File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ namespace fs = std::filesystem;
1717#define __bswap_32 _byteswap_ulong
1818#define bswap_32 _byteswap_ulong
1919#endif
20- #if defined __APPLE__
20+ #if defined SDL_PLATFORM_APPLE
2121#define __bswap32 __builtin_bswap32
2222#define bswap32 __builtin_bswap32
2323#endif
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ distribution.
2424#include " tinyxml2.h"
2525
2626#include < new> // yes, this one new style header, is in the Android SDK.
27- #if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(__QNXNTO__ )
27+ #if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(SDL_PLATFORM_QNXNTO )
2828# include < stddef.h>
2929# include < stdarg.h>
3030#else
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ distribution.
2424#ifndef TINYXML2_INCLUDED
2525#define TINYXML2_INCLUDED
2626
27- #if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(__QNXNTO__ )
27+ #if defined(ANDROID_NDK) || defined(__BORLANDC__) || defined(SDL_PLATFORM_QNXNTO )
2828# include < ctype.h>
2929# include < limits.h>
3030# include < stdio.h>
You can’t perform that action at this time.
0 commit comments