]> git.saurik.com Git - winterboard.git/commitdiff
We no longer need to simulate linking newer SDKs.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 8 Jan 2014 10:54:07 +0000 (02:54 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 8 Jan 2014 10:54:07 +0000 (02:54 -0800)
Application.mm

index 2b5bfb3b4a1c8eceb58ceb697d9cb1fe3f76de24..772cc075962397e56a1e7683dcc659f19a906c17 100644 (file)
@@ -30,7 +30,6 @@
 #import <Preferences/PSListController.h>
 #import <Preferences/PSSpecifier.h>
 
-#include <substrate.h>
 #include <mach-o/dyld.h>
 
 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];