Advertisement
dominus

Untitled

Mar 4th, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.68 KB | None | 0 0
  1. diff --git a/src/refkeen_config.h b/src/refkeen_config.h
  2. index e7af546..633a902 100644
  3. --- a/src/refkeen_config.h
  4. +++ b/src/refkeen_config.h
  5. @@ -20,7 +20,7 @@
  6.  
  7.  #ifdef __APPLE__
  8.  #include "TargetConditionals.h"
  9. -#if (!defined TARGET_OS_IPHONE) && (!defined TARGET_IPHONE_SIMULATOR)
  10. +#if !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || !(defined TARGET_IPHONE_SIMULATOR)
  11.  #define REFKEEN_PLATFORM_OSX
  12.  #endif
  13.  #endif
  14. @@ -33,7 +33,7 @@
  15.  #define REFKEEN_PLATFORM_EMSCRIPTEN
  16.  #endif
  17.  
  18. -#if (defined __unix__) || (defined __unix) || (defined unix)
  19. +#if (defined __unix__) || (defined __unix) || (defined unix) || (defined __APPLE__)
  20.  #define REFKEEN_PLATFORM_UNIX
  21.  #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement