From af51b58a09cf3e58a21d186913a47c86b51799f9 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Thu, 21 Jun 2012 21:34:48 +0200 Subject: [PATCH] Use non-standard replacement functions for msvc. --- examples/universal.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/universal.c b/examples/universal.c index 4eadd7a..5cdc6b9 100644 --- a/examples/universal.c +++ b/examples/universal.c @@ -28,6 +28,12 @@ #include #endif +#ifdef _MSC_VER +#define snprintf _snprintf +#define strcasecmp _stricmp +#define strncasecmp _strnicmp +#endif + #ifdef _WIN32 #define DC_TICKS_FORMAT "%I64d" #else