From: Steve Holme Date: Wed, 5 Nov 2014 23:04:43 +0000 (+0000) Subject: build: Fixed Visual Studio project file generation of strdup.[c|h] X-Git-Tag: curl-7_40_0~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3aa51450c41979004d5f40bca7be0d7fa727d502;p=curl build: Fixed Visual Studio project file generation of strdup.[c|h] As the curl command-line tool now includes it's own version of strdup(), for platforms that don't have it, fixed up the git respository Visual Studio project file generator to not include the version from lib in the tool project files, rather than having both lib\strdup.[c|h] and src\tool_strdup.[c|h] present. --- diff --git a/projects/generate.bat b/projects/generate.bat index 08560cf7c..a95cc9a36 100644 --- a/projects/generate.bat +++ b/projects/generate.bat @@ -146,7 +146,6 @@ rem for /f "delims=" %%r in ('dir /b ..\src\*.rc') do call :element %1 src "%%r" %3 ) else if "!var!" == "CURL_SRC_X_C_FILES" ( call :element %1 lib "strtoofft.c" %3 - call :element %1 lib "strdup.c" %3 call :element %1 lib "rawstr.c" %3 call :element %1 lib "nonblock.c" %3 call :element %1 lib "warnless.c" %3 @@ -154,7 +153,6 @@ rem call :element %1 lib "config-win32.h" %3 call :element %1 lib "curl_setup.h" %3 call :element %1 lib "strtoofft.h" %3 - call :element %1 lib "strdup.h" %3 call :element %1 lib "rawstr.h" %3 call :element %1 lib "nonblock.h" %3 call :element %1 lib "warnless.h" %3