diff --git a/subprojects/packagefiles/libquickjs/quickjs.c b/subprojects/packagefiles/libquickjs/quickjs.c index 3b08749..22051c9 100644 --- a/subprojects/packagefiles/libquickjs/quickjs.c +++ b/subprojects/packagefiles/libquickjs/quickjs.c @@ -62,7 +62,13 @@ #define NO_TM_GMTOFF #endif +#define XXXXSTR(x) STRXXXX(x) +#define STRXXXX(x) #x #if !defined(EMSCRIPTEN) && !defined(__wasi__) +#if defined(_MSC_VER) && _MSC_VER <= 1935 +#pragma message "The value of _MSC_VER: " XXXXSTR(_MSC_VER) +#else +#pragma message "The value of _MSC_VER: " XXXXSTR(_MSC_VER) #include "quickjs-c-atomics.h" #define CONFIG_ATOMICS #endif