diff options
author | peter1138 <peter1138@openttd.org> | 2005-12-16 22:01:38 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-12-16 22:01:38 +0000 |
commit | 592aee1e279c310c35c7cafba78a4d6fe7411bf0 (patch) | |
tree | 04495044c6849f74864b3ea43453db3bbcacc160 | |
parent | 28fe368b7fee701d92c2c459c28bcaeae7f43235 (diff) | |
download | openttd-592aee1e279c310c35c7cafba78a4d6fe7411bf0.tar.xz |
(svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value.
-rw-r--r-- | win32.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |