From cbfb2f6ca33a5a87da602630f0da505a4c69991f Mon Sep 17 00:00:00 2001 From: wargio Date: Mon, 21 Oct 2024 14:36:09 +0800 Subject: [PATCH] Debugging --- subprojects/packagefiles/libquickjs/quickjs.c | 6 ++++++ 1 file changed, 6 insertions(+) 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