* On MSVC make sure to #define inline __before__ using it!!

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2744 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-11-06 18:30:19 +00:00
parent 9f9cc3b697
commit 7b2530306c
1 changed files with 1 additions and 1 deletions

View File

@ -370,6 +370,7 @@
# if defined(WZ_CC_MSVC)
# define strcasecmp _stricmp
# define strncasecmp _strnicmp
# define inline __inline
static inline int vsnprintf(char* str, size_t size, const char* format, va_list ap)
{
@ -402,7 +403,6 @@ static inline int snprintf(char* str, size_t size, const char* format, ...)
}
# define fileno _fileno
# define inline __inline
# define isfinite _finite
# define PATH_MAX MAX_PATH
# endif /* WZ_CC_MSVC */