From 66aef98c407ded86b47c5d9b794363124b728b65 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 17 Nov 2010 10:10:34 +0000 Subject: [PATCH] Define strdup under Windows in contrib/windows.h --- contrib/windows.h | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/windows.h b/contrib/windows.h index 0fc35db..0ce33ba 100644 --- a/contrib/windows.h +++ b/contrib/windows.h @@ -30,6 +30,7 @@ # define snprintf(S, n, F, ...) sprintf(S, F, __VA_ARGS__) # else # define snprintf sprintf_s +# define strdup _strdup # endif #endif