summaryrefslogtreecommitdiff
path: root/include/m_netlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r--include/m_netlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index 0035c1acf1..798f755a3c 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -785,7 +785,7 @@ typedef struct
// #include <stdarg.h> and <stdio.h> before including this header in order to
// use it.
-#if defined va_start && (defined _STDIO_DEFINED || defined _STDIO_H_) && (!defined NETLIB_NOLOGGING)
+#if defined va_start && (defined _STDIO_DEFINED || defined _STDIO_H_ || defined _INC_STDIO) && (!defined NETLIB_NOLOGGING)
#pragma warning(disable:4505)
__inline INT_PTR Netlib_Logf(HANDLE hUser, const char *fmt, ...)