Make macOS Universal Bundle target 10.6 for x86 and x86_64
SDL 2.0.5 dropped support for macOS 10.5 so target 10.6 instead. The PPC build uses SDL 2.0.1 so it still targets 10.5. macOS 10.5 (x86, x86_64) should automatically run the PPC build using Rosetta. Revert MAN-AT-ARMS' change to SDL 2.0.8 SDL_platform.h that allowed targeting macOS 10.5 for the sake of PPC. It also incorrectly allowed x86 and x86_64 to target 10.5 as well. (Also macOS PPC uses separate headers now.)
This commit is contained in:
parent
92935df37b
commit
9a0ee67e04
4 changed files with 77 additions and 20 deletions
|
@ -83,10 +83,9 @@
|
|||
/* if not compiling for iOS */
|
||||
#undef __MACOSX__
|
||||
#define __MACOSX__ 1
|
||||
/* modified to 1050 for PPC Build*/
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
|
||||
# error SDL for Mac OS X only supports deploying on 10.5 and above.
|
||||
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1050 */
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
||||
# error SDL for Mac OS X only supports deploying on 10.6 and above.
|
||||
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
|
||||
#endif /* TARGET_OS_IPHONE */
|
||||
#endif /* defined(__APPLE__) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue