#undef HAVE_VSWPRINTF
#endif
+#if defined(__WATCOMC__)
+ #define HAVE_VSWPRINTF 1
+#endif
+
#if wxUSE_PRINTF_POS_PARAMS
/*
The systems where vsnprintf() supports positional parameters should
#define wxCRT_VfprintfW vfwprintf
#define wxCRT_VprintfW vwprintf
-#if defined(__WINDOWS__) && !HAVE_VSWPRINTF
+#if defined(__WINDOWS__) && !defined(HAVE_VSWPRINTF)
// only non-standard vswprintf() without buffer size argument can be used here
#define wxCRT_VsprintfW vswprintf
#endif