IOS-1784 it has been decided NOT to set PER_USER_DIRECTORY but to use HOME instead for iOS, maybe all sandboxed apps IOS-1784
authorbuff <andreas@pep-project.org>
Sat, 31 Aug 2019 15:23:52 +0200
branchIOS-1784
changeset 404006031e3ea8a5
parent 4039 cab17a989fb4
child 4041 276b75a00083
child 4044 3c784203722b
IOS-1784 it has been decided NOT to set PER_USER_DIRECTORY but to use HOME instead for iOS, maybe all sandboxed apps
src/platform_unix.h
     1.1 --- a/src/platform_unix.h	Fri Aug 30 22:37:17 2019 +0200
     1.2 +++ b/src/platform_unix.h	Sat Aug 31 15:23:52 2019 +0200
     1.3 @@ -68,13 +68,10 @@
     1.4  #include "TargetConditionals.h"
     1.5  #include <string.h>
     1.6  #if TARGET_OS_IPHONE //read as `if iOS`
     1.7 -
     1.8 -extern char* perMachineDirectory;
     1.9 +    extern char* perMachineDirectory;
    1.10  #define PER_MACHINE_DIRECTORY perMachineDirectory
    1.11 -
    1.12 -extern char* perUserDirectory;
    1.13 -#define PER_MACHINE_DIRECTORY perUserDirectory
    1.14 -
    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