MSVC's strdup() in _DEBUG mode
#endif
#endif
-/*
- * For flagging arguments as format strings in MSVC.
- */
-#if _MSC_VER >= 1400
- #include <sal.h>
- #if _MSC_VER > 1400
- #define FORMAT_STRING(p) _Printf_format_string_ p
- #else
- #define FORMAT_STRING(p) __format_string p
- #endif
-#else
- #define FORMAT_STRING(p) p
-#endif
-
#ifdef _MSC_VER
+ #ifndef _DEBUG
#define strdup _strdup
+ #endif
#define sscanf sscanf_s
#define setbuf(x, y) \
setvbuf((x), (y), _IONBF, 0)