Skip to content

Commit 3665a16

Browse files
author
briaguya
committed
sdl3 migration rename scripts
1 parent 684f21a commit 3665a16

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ZAPD/ZRom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

lib/tinyxml2/tinyxml2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

lib/tinyxml2/tinyxml2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)