summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32.c b/win32.c
index 579b1109e..ce235ab20 100644
--- a/win32.c
+++ b/win32.c
@@ -1218,6 +1218,7 @@ int CDECL snprintf(char *str, size_t size, const char *format, ...)
return ret;
}
+#ifdef _MSC_VER
#if _MSC_VER < 1400 /* Already defined in VS 2005 */
int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
{
@@ -1227,6 +1228,7 @@ int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
return ret;
}
#endif
+#endif
/**
* Insert a chunk of text from the clipboard onto the textbuffer. Get TEXT clipboard