blob: 2f84e9cd28a8a1bf2657133da79e4d76c75f5d31 [file] [log] [blame]
Adam Tkac247b7292008-11-14 13:11:31 +00001/* common-config.win.h - Platform-specific definitions for Windows */
2
3#define HAVE_VSNPRINTF 1
Peter Åstrand1306c562008-12-12 14:05:23 +00004#ifdef _MSC_VER
5/* Older versions of MSVC lacks vsnprintf. MinGW has it, and if this
6 macro is defined before stdio.h is included, things will break. */
Adam Tkac247b7292008-11-14 13:11:31 +00007#define vsnprintf _vsnprintf
Peter Åstrand1306c562008-12-12 14:05:23 +00008#endif
Adam Tkac3422fbd2008-12-03 14:18:19 +00009
10#define HAVE_SNPRINTF 1
11#define snprintf _snprintf