From b6ace22552e41cb05d69eb0325a91dc0b7aa1d40 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 3 Jan 2014 21:37:32 -0800 Subject: [PATCH] The TARGET_OS_IPHONE variable is set to 1 or 0. --- Mach/Inject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mach/Inject.cpp b/Mach/Inject.cpp index 982ffe4..c70e83c 100644 --- a/Mach/Inject.cpp +++ b/Mach/Inject.cpp @@ -20,7 +20,7 @@ /* }}} */ #include "TargetConditionals.h" -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IPHONE #undef __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ #define __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ __IPHONE_5_0 #endif @@ -57,7 +57,7 @@ void InjectLibrary(pid_t pid) { memcpy(library, addr.dli_fname, flength); library[flength] = '\0'; _assert(strcmp(library + flength - 6, ".dylib") == 0); -#ifndef TARGET_OS_IPHONE +#if !TARGET_OS_IPHONE strcpy(library + flength - 6, "-any.dylib"); #endif -- 2.49.0