diff --git a/include/Khaos/Compiler.h b/include/Khaos/Compiler.h index ccb81fa..5133c21 100644 --- a/include/Khaos/Compiler.h +++ b/include/Khaos/Compiler.h @@ -1100,7 +1100,9 @@ #define KHAOS_DEFINE_Compiler_VERSION_PRIVATE() SET_VERSION(__PATHCC__, __PATHCC_MINOR__, __PATHCC_PATCHLEVEL__, 0) #define KHAOS_COMPILER_EKOPath_PRIVATE() (1L) #elif defined(__EMSCRIPTEN__) - #include + if !defined(__EMSCRIPTEN_major__) || !defined(__EMSCRIPTEN_minor__) || !defined(__EMSCRIPTEN_tiny__) + #include + #endif #define KHAOS_DEFINE_Compiler_VERSION_PRIVATE() SET_VERSION(__EMSCRIPTEN_major__, __EMSCRIPTEN_minor__, __EMSCRIPTEN_tiny__, 0) #define KHAOS_COMPILER_Emscripten_PRIVATE() (1L) #elif defined(__FCC_VERSION)