Removed unused IOS_DYLIB definition
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6df2656..86ea5e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2592,7 +2592,6 @@ if(SDL_SHARED)
endif()
if(IOS OR TVOS)
set_property(TARGET SDL2 APPEND_STRING PROPERTY COMPILE_FLAGS "-fobjc-arc")
- target_compile_definitions(SDL2 PRIVATE IOS_DYLIB=1)
endif()
if(WAYLAND_LIBDECOR)
target_include_directories(SDL2 PRIVATE "${libdecor_INCLUDE_DIRS}")
diff --git a/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/Xcode/SDL/SDL.xcodeproj/project.pbxproj
index 21ceb2a..e583085 100644
--- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj
+++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj
@@ -10166,7 +10166,6 @@
"$(inherited)",
"$(SDKROOT)/System/iOSSupport/System/Library/Frameworks",
);
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
INSTALL_PATH = "@rpath";
SDKROOT = iphoneos;
@@ -10183,7 +10182,6 @@
"$(inherited)",
"$(SDKROOT)/System/iOSSupport/System/Library/Frameworks",
);
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
INSTALL_PATH = "@rpath";
SDKROOT = iphoneos;
@@ -10196,7 +10194,6 @@
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
EXECUTABLE_PREFIX = lib;
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
INSTALL_PATH = "@rpath";
SDKROOT = appletvos;
@@ -10208,7 +10205,6 @@
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
EXECUTABLE_PREFIX = lib;
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
INSTALL_PATH = "@rpath";
SDKROOT = appletvos;
@@ -10348,7 +10344,6 @@
"$(inherited)",
"$(SDKROOT)/System/iOSSupport/System/Library/Frameworks",
);
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
OTHER_LDFLAGS = "-liconv";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2,6";
@@ -10364,7 +10359,6 @@
"$(inherited)",
"$(SDKROOT)/System/iOSSupport/System/Library/Frameworks",
);
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
OTHER_LDFLAGS = "-liconv";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2,6";
@@ -10376,7 +10370,6 @@
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_LINK_OBJC_RUNTIME = NO;
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
OTHER_LDFLAGS = "-liconv";
SDKROOT = appletvos;
};
@@ -10387,7 +10380,6 @@
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_LINK_OBJC_RUNTIME = NO;
- GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
OTHER_LDFLAGS = "-liconv";
SDKROOT = appletvos;
};