IOS-1784 Works for macOS as well. IOS-1784
authorDirk Zimmermann <dz@pep.security>
Fri, 06 Sep 2019 11:03:27 +0200
branchIOS-1784
changeset 12275abaa89ca842
parent 1226 e808633de8ea
child 1228 acf39715d04d
IOS-1784 Works for macOS as well.
pEpObjCAdapter/PEPObjCAdapter.m
     1.1 --- a/pEpObjCAdapter/PEPObjCAdapter.m	Fri Sep 06 11:03:27 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPObjCAdapter.m	Fri Sep 06 11:03:27 2019 +0200
     1.3 @@ -126,12 +126,10 @@
     1.4   */
     1.5  + (void)setPerMachineDirectory:(NSURL *)perMachineDir
     1.6  {
     1.7 -#if TARGET_OS_IPHONE
     1.8      if (perMachineDirectory) {
     1.9          free((void *) perMachineDirectory);
    1.10      }
    1.11      perMachineDirectory = strdup([perMachineDir path].UTF8String);
    1.12 -#endif
    1.13  }
    1.14  
    1.15  + (NSString *)getBundlePathFor: (NSString *) filename