mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 07:21:31 +00:00
mac SDL2.framework: by-pass clang-11 overzealousness for now
(see https://github.com/libsdl-org/SDL/issues/4475)
This commit is contained in:
parent
78323635a0
commit
1716bc120b
1 changed files with 8 additions and 0 deletions
|
@ -70,6 +70,11 @@
|
||||||
/* lets us know what version of Mac OS X we're compiling on */
|
/* lets us know what version of Mac OS X we're compiling on */
|
||||||
#include "AvailabilityMacros.h"
|
#include "AvailabilityMacros.h"
|
||||||
#include "TargetConditionals.h"
|
#include "TargetConditionals.h"
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||||
|
#pragma clang diagnostic ignored "-Wundef-prefix"
|
||||||
|
#endif
|
||||||
#if TARGET_OS_TV
|
#if TARGET_OS_TV
|
||||||
#undef __TVOS__
|
#undef __TVOS__
|
||||||
#define __TVOS__ 1
|
#define __TVOS__ 1
|
||||||
|
@ -87,6 +92,9 @@
|
||||||
# error SDL for Mac OS X only supports deploying on 10.6 and above.
|
# error SDL for Mac OS X only supports deploying on 10.6 and above.
|
||||||
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
|
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
|
||||||
#endif /* TARGET_OS_IPHONE */
|
#endif /* TARGET_OS_IPHONE */
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif /**/
|
||||||
#endif /* defined(__APPLE__) */
|
#endif /* defined(__APPLE__) */
|
||||||
|
|
||||||
#if defined(__NetBSD__)
|
#if defined(__NetBSD__)
|
||||||
|
|
Loading…
Reference in a new issue