IOSAD-202 this should work for macOS also

IOSAD-201
Andreas Buff 2 years ago
parent 2deb1a5049
commit dcb199a80f

@ -81,13 +81,11 @@ const char *android_system_db(void);
#elif __APPLE__
#include "TargetConditionals.h"
#include <string.h>
#if TARGET_OS_IPHONE //read as `if iOS`
extern char* perMachineDirectory;
#define PER_MACHINE_DIRECTORY perMachineDirectory
// It has been decided not to define PER_USER_DIRECTORY for iOS but HOME (which is defined by
// the OS), at least temporarely.
#endif
#endif
#if !defined(BSD) && !defined(__APPLE__)
/**

Loading…
Cancel
Save