diff options
author | darkvater <darkvater@openttd.org> | 2005-01-15 15:48:05 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-15 15:48:05 +0000 |
commit | ef3b9161f8f106a7cf6b02766fac06d92523816a (patch) | |
tree | 174b12956255bea6bb6661e6e5a30597c730575c /stdafx.h | |
parent | 559317f9d0ed7d32cff54939a3296922e3fae066 (diff) | |
download | openttd-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |