mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
interposer: disable for simulator builds
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
#include <TargetConditionals.h>
|
||||
#if !TARGET_OS_SIMULATOR
|
||||
#include <IOKit/IOKitLib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -54,3 +56,4 @@ __attribute__ ((used, section ("__DATA,__interpose")))
|
||||
static struct {
|
||||
void *replacement, *original;
|
||||
} replace_IOServiceAuthorize = { IOServiceAuthorizeReplacement, IOServiceAuthorize };
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user