Browse Source

Improve OSX platform OS string (ios -> osx)

pull/571/head
Sami Vaarala 9 years ago
parent
commit
22429be9dc
  1. 4
      config/platforms/platform_apple.h.in

4
config/platforms/platform_apple.h.in

@ -14,9 +14,9 @@
#elif TARGET_OS_IPHONE
#define DUK_USE_OS_STRING "iphone"
#elif TARGET_OS_MAC
#define DUK_USE_OS_STRING "ios"
#define DUK_USE_OS_STRING "osx"
#else
#define DUK_USE_OS_STRING "ios-unknown"
#define DUK_USE_OS_STRING "osx-unknown"
#endif
/* Use _setjmp() on Apple by default, see GH-55. */

Loading…
Cancel
Save