#define vsnprintf to _vsnprintf on MSVC.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2701 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -154,6 +154,13 @@ typedef unsigned short mode_t;
|
||||
# include <alloca.h>
|
||||
#endif
|
||||
|
||||
// String formatting
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _UIOPORT_H */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user