summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-15 15:48:05 +0000
committerdarkvater <darkvater@openttd.org>2005-01-15 15:48:05 +0000
commitef3b9161f8f106a7cf6b02766fac06d92523816a (patch)
tree174b12956255bea6bb6661e6e5a30597c730575c /stdafx.h
parent559317f9d0ed7d32cff54939a3296922e3fae066 (diff)
downloadopenttd-ef3b9161f8f106a7cf6b02766fac06d92523816a.tar.xz
(svn r1523) -Fix: somehow mousewheel was disabled on windows using SDL; reenabled again
-Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin)
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdafx.h b/stdafx.h
index 4f1325bdc..8fbc51b1d 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -105,8 +105,8 @@
# define inline _inline
# define CDECL _cdecl
# define NOT_REACHED() _assume(0)
-int snprintf(char *str, size_t size, const char *format, ...);
-int vsnprintf(char *str, size_t size, const char *format, va_list ap);
+int CDECL snprintf(char *str, size_t size, const char *format, ...);
+int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap);
# undef TTD_ALIGNMENT_4
# undef TTD_ALIGNMENT_2
# define GCC_PACK