mirror of
https://github.com/RPCS3/libusb.git
synced 2026-01-31 01:25:19 +01:00
darwin: Suppress deprecation warning when building against 10.13 SDK
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
This commit is contained in:
committed by
Chris Dickens
parent
c8069cd8c9
commit
4f9d58564e
@@ -36,6 +36,10 @@
|
||||
#include <mach/mach_host.h>
|
||||
#include <mach/mach_port.h>
|
||||
|
||||
/* Suppress warnings about the use of the deprecated objc_registerThreadWithCollector
|
||||
* function. Its use is also conditionalized to only older deployment targets. */
|
||||
#define OBJC_SILENCE_GC_DEPRECATIONS 1
|
||||
|
||||
#include <AvailabilityMacros.h>
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 && MAC_OS_X_VERSION_MIN_REQUIRED < 101200
|
||||
#include <objc/objc-auto.h>
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11291
|
||||
#define LIBUSB_NANO 11292
|
||||
|
||||
Reference in New Issue
Block a user