merge IOS-1784 sync
authorbuff <andreas@pep-project.org>
Sat, 31 Aug 2019 15:40:25 +0200
branchsync
changeset 4041276b75a00083
parent 4037 fbc2e35b0ad2
parent 4040 06031e3ea8a5
child 4043 f01fbfb593b3
child 4045 af9bfb2b5c08
child 4046 5374196b515e
merge IOS-1784
     1.1 --- a/src/platform_unix.h	Fri Aug 30 17:15:07 2019 +0200
     1.2 +++ b/src/platform_unix.h	Sat Aug 31 15:40:25 2019 +0200
     1.3 @@ -67,11 +67,11 @@
     1.4  #elif __APPLE__
     1.5  #include "TargetConditionals.h"
     1.6  #include <string.h>
     1.7 -#if TARGET_OS_IPHONE
     1.8 -
     1.9 -extern char* SystemDB;
    1.10 -#define SYSTEM_DB SystemDB
    1.11 -    
    1.12 +#if TARGET_OS_IPHONE //read as `if iOS`
    1.13 +    extern char* perMachineDirectory;
    1.14 +#define PER_MACHINE_DIRECTORY perMachineDirectory
    1.15 +    // It has been decided not to define PER_USER_DIRECTORY for iOS but HOME (which is defined by
    1.16 +    // the OS), at least temporarely.
    1.17  #endif
    1.18  #endif
    1.19