Browse Source

add emscripten arch string for Duktape.env

pull/2/head
Sami Vaarala 11 years ago
parent
commit
9849e1727f
  1. 2
      src/duk_features.h

2
src/duk_features.h

@ -1166,6 +1166,8 @@ extern double duk_computed_nan;
#define DUK_USE_ARCH_STRING "m68k"
#elif defined(DUK_F_FLASHPLAYER)
#define DUK_USE_ARCH_STRING "flashplayer"
#elif defined(DUK_F_EMSCRIPTEN)
#define DUK_USE_ARCH_STRING "emscripten"
#else
#define DUK_USE_ARCH_STRING "unknown"
#endif

Loading…
Cancel
Save