From: Jay Freeman (saurik) Date: Wed, 8 Jan 2014 10:54:07 +0000 (-0800) Subject: We no longer need to simulate linking newer SDKs. X-Git-Tag: v0.9.3912~33 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/dbfda2af58c3682e1cb61966f040b9325a1b478d We no longer need to simulate linking newer SDKs. --- diff --git a/Application.mm b/Application.mm index 2b5bfb3..772cc07 100644 --- a/Application.mm +++ b/Application.mm @@ -30,7 +30,6 @@ #import #import -#include #include static NSBundle *wbSettingsBundle; @@ -168,17 +167,9 @@ static Class $WBSettingsController; @end -MSHook(int32_t, NSVersionOfLinkTimeLibrary, const char *name) { - if (strcmp(name, "UIKit") == 0) - return 0x6400000; - return _NSVersionOfLinkTimeLibrary(name); -} - int main(int argc, char *argv[]) { NSAutoreleasePool *pool( [[NSAutoreleasePool alloc] init]); - MSHookFunction(NSVersionOfLinkTimeLibrary, MSHake(NSVersionOfLinkTimeLibrary)); - int value = UIApplicationMain(argc, argv, @"WBApplication", @"WBApplication"); [pool release];