fix redefine warning when build from CVS.
authorGunter Knauf <gk@gknw.de>
Fri, 26 Jan 2007 20:00:55 +0000 (20:00 +0000)
committerGunter Knauf <gk@gknw.de>
Fri, 26 Jan 2007 20:00:55 +0000 (20:00 +0000)
buildconf.bat

index 1499ca0..beecb6f 100644 (file)
@@ -5,7 +5,10 @@ REM $Date$
 \r
 REM create ca-bundle.h\r
 echo /* This file is generated automatically */ >lib\ca-bundle.h\r
-echo #define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE") >>lib\ca-bundle.h\r
+echo #ifndef CURL_CA_BUNDLE >>lib\ca-bundle.h
+echo #define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE") >>lib\ca-bundle.h
+echo #endif >>lib\ca-bundle.h
+
 \r
 REM create hugehelp.c\r
 copy src\hugehelp.c.cvs src\hugehelp.c\r