IOS-1784 makes new directories setable for Obj-C Adapter when building for iOS IOS-1784
authorbuff <andreas@pep-project.org>
Fri, 30 Aug 2019 22:37:17 +0200
branchIOS-1784
changeset 4039cab17a989fb4
parent 4038 313627399cd4
child 4040 06031e3ea8a5
IOS-1784 makes new directories setable for Obj-C Adapter when building for iOS
src/platform_unix.h
     1.1 --- a/src/platform_unix.h	Fri Aug 30 22:35:41 2019 +0200
     1.2 +++ b/src/platform_unix.h	Fri Aug 30 22:37:17 2019 +0200
     1.3 @@ -67,11 +67,14 @@
     1.4  #elif __APPLE__
     1.5  #include "TargetConditionals.h"
     1.6  #include <string.h>
     1.7 -#if TARGET_OS_IPHONE
     1.8 +#if TARGET_OS_IPHONE //read as `if iOS`
     1.9  
    1.10 -extern char* SystemDB;
    1.11 -#define SYSTEM_DB SystemDB
    1.12 -    
    1.13 +extern char* perMachineDirectory;
    1.14 +#define PER_MACHINE_DIRECTORY perMachineDirectory
    1.15 +
    1.16 +extern char* perUserDirectory;
    1.17 +#define PER_MACHINE_DIRECTORY perUserDirectory
    1.18 +
    1.19  #endif
    1.20  #endif
    1.21