]> git.saurik.com Git - apple/security.git/blobdiff - Analytics/SQLite/SFSQLite.m
Security-59754.80.3.tar.gz
[apple/security.git] / Analytics / SQLite / SFSQLite.m
index e0f1a8ddee6f9121ad596d68c041c55e2d3efc31..d3d9acd3fec61704d5de1ce0ad17dc0a2e0e3bfb 100644 (file)
@@ -301,7 +301,6 @@ allDone:
 */
 - (void)attemptProperDatabasePermissions
 {
-#if TARGET_OS_IPHONE
     NSFileManager* fm = [NSFileManager defaultManager];
     [fm setAttributes:@{NSFilePosixPermissions : [NSNumber numberWithShort:0666]}
          ofItemAtPath:_path
@@ -312,7 +311,6 @@ allDone:
     [fm setAttributes:@{NSFilePosixPermissions : [NSNumber numberWithShort:0666]}
          ofItemAtPath:[NSString stringWithFormat:@"%@-shm",_path]
                 error:nil];
-#endif
 }
 
 - (BOOL)openWithError:(NSError **)error {