diff --git a/mongoose.h b/mongoose.h
index 4550c4819dbba40aa2a413d688ab78c85bc7dfaf..5eeaee66e586c541c0be7697f2690010f5e1b2f1 100644
--- a/mongoose.h
+++ b/mongoose.h
@@ -2500,7 +2500,11 @@ int cs_base64_decode(const unsigned char *s, int len, char *dst, int *dec_len);
  * Expands to a string representation of its argument: e.g.
  * `CS_STRINGIFY_LIT(5) expands to "5"`
  */
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
+#define CS_STRINGIFY_LIT(...) #__VA_ARGS__
+#else
 #define CS_STRINGIFY_LIT(x) #x
+#endif
 
 /*
  * Expands to a string representation of its argument, which is allowed