(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)
This commit is contained in:
darkvater
2005-01-15 15:48:05 +00:00
parent 559317f9d0
commit ef3b9161f8
6 changed files with 10 additions and 11 deletions

View File

@@ -2074,7 +2074,7 @@ void DeterminePaths()
CreateDirectory(_path.scenario_dir, NULL);
}
int snprintf(char *str, size_t size, const char *format, ...)
int CDECL snprintf(char *str, size_t size, const char *format, ...)
{
va_list ap;
int ret;
@@ -2085,7 +2085,7 @@ int snprintf(char *str, size_t size, const char *format, ...)
return ret;
}
int vsnprintf(char *str, size_t size, const char *format, va_list ap)
int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
{
int ret;
ret = _vsnprintf(str, size, format, ap);