X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8964aa089c709fbf370be623d75a204480b26b3c..6c962f8b453949af5bab59b783d7ef247efe07ce:/Mach/Inject.cpp 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