Fix Node.js analyzer

This commit is contained in:
Maurice Heumann
2025-08-24 08:43:23 +02:00
parent bf03007603
commit 37310a308b
4 changed files with 9 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ namespace
#ifdef _WIN32
#define COLOR(win, posix, web) win
using color_type = WORD;
#elif defined(__EMSCRIPTEN__)
#elif defined(__EMSCRIPTEN__) && !defined(MOMO_EMSCRIPTEN_SUPPORT_NODEJS)
#define COLOR(win, posix, web) web
using color_type = const char*;
#else