--- a/ofstd/libsrc/ofwhere.c +++ b/ofstd/libsrc/ofwhere.c @@ -33,5 +33,5 @@ -#if defined(__linux__) || defined(__CYGWIN__) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__EMSCRIPTEN__) #undef _DEFAULT_SOURCE #define _DEFAULT_SOURCE #elif defined(__APPLE__) @@ -166,5 +166,5 @@ } -#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || defined(WAI_USE_PROC_SELF_EXE) +#elif defined(__linux__) || defined(__CYGWIN__) || defined(__sun) || defined(WAI_USE_PROC_SELF_EXE) || defined(__EMSCRIPTEN__) #include