From: Eric Haszlakiewicz Date: Mon, 23 May 2016 02:37:09 +0000 (+0000) Subject: Issue #205: use _strdup instead of strdup on Windows. X-Git-Tag: json-c-0.13-20171207~163 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e4e5f7d9df01084b025d1fc619ca9ce9dcceef3;p=thirdparty%2Fjson-c.git Issue #205: use _strdup instead of strdup on Windows. --- diff --git a/config.h.win32 b/config.h.win32 index de6bc3c5..e721aaf7 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -91,7 +91,7 @@ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 +#define HAVE_STRDUP 0 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1