]> git.saurik.com Git - cydia.git/blobdiff - MobileCydia.mm
Figured out why multitasking was on (4.0 SDK compile) and turned it off.
[cydia.git] / MobileCydia.mm
index 0ca3ebbbbade6116355925d19f1bbc652004b4cb..0b4b56e3e1eae0965e0a98bd4c7bdb9df4794fd3 100644 (file)
@@ -125,8 +125,6 @@ extern "C" {
 #include "SDURLCache/SDURLCache.h"
 
 #include "substrate.h"
-
-#include "Version.h"
 /* }}} */
 
 /* Profiler {{{ */
@@ -208,6 +206,8 @@ void PrintTimes() {
     while (false); \
     [_pool release];
 
+#define Cydia_ CYDIA_VERSION
+
 #define lprintf(args...) fprintf(stderr, args)
 
 #define ForRelease 1
@@ -320,7 +320,9 @@ static _finline void UpdateExternalStatus(uint64_t newStatus) {
     NSDate *future([NSDate distantFuture]);
     NSString *mode([loop currentMode] ?: NSDefaultRunLoopMode);
 
+_trace();
     while (!stopped && [loop runMode:mode beforeDate:future]);
+_trace();
 
     return [context count] == 0 ? nil : [context objectAtIndex:0];
 }