diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2019-05-19 16:37:51 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2019-05-19 16:37:51 -0700 |
commit | 136cc0a23da9281874ee88b7b51174538fcb9269 (patch) | |
tree | b7fc51c93b9bd0323768f8780a20c1bc94708166 /MobileCydia.mm | |
parent | 533d9675271212f948b4284471b7be15d3a56d99 (diff) |
Mostly make Cydia compile using the iOS Simulator.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 3d299b6..22c1272 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -2454,7 +2454,7 @@ struct PackageNameOrdering : } while (false); _end _profile(Package$initWithVersion$Tags) -#ifdef __arm64__ +#ifndef __arm__ pkgCache::TagIterator tag(version_.TagList()); #else pkgCache::TagIterator tag(iterator.TagList()); @@ -3480,7 +3480,7 @@ class CydiaLogCleaner : if (static_cast<pkgDepCache *>(cache_) == NULL) return nil; pkgCache::PkgIterator iterator(cache_->FindPkg([name UTF8String] -#ifdef __arm64__ +#ifndef __arm__ , "any" #endif )); @@ -9223,7 +9223,7 @@ int main(int argc, char *argv[]) { else if (!strcmp(argv0, "lzma")) return main_gzip(argc, argv); #endif -#ifdef __arm64__ +#ifndef __arm__ else if (!strcmp(argv0, "store")) return main_store(argc, argv); #endif |