]> granicus.if.org Git - curl/commitdiff
build adjustments: functionally revert commits 4d3fb91f and bbfe1182
authorYang Tse <yangsita@gmail.com>
Wed, 11 Apr 2012 17:28:40 +0000 (19:28 +0200)
committerYang Tse <yangsita@gmail.com>
Wed, 11 Apr 2012 17:28:40 +0000 (19:28 +0200)
Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.

src/tool_setup.h
tests/libtest/chkhostname.c
tests/libtest/sethostname.c
tests/libtest/test.h
tests/libtest/testutil.c
tests/libtest/testutil.h
tests/server/server_setup.h

index 677f6e5c90c64e647872f6d53e98b394791e86cf..ed3849ba35632f1f2e6cb1246b0c746cf9fc997a 100644 (file)
 
 #include "setup.h" /* from the lib directory */
 
-/*
- * Undefine macros intended for libcurl internal use only.
- */
-
-#undef CURL_HIDDEN_SYMBOLS
-
 /*
  * curl tool certainly uses libcurl's external interface.
  */
index bf0dbfda2c199a72d7c9ae198ad70f0a503aad8d..a18c92e8f1aa0bcb924212d18d9d8b7da9c42ed8 100644 (file)
@@ -21,8 +21,6 @@
  ***************************************************************************/
 #include "setup.h"
 
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
 #include "curl_gethostname.h"
 
 #define HOSTNAME_MAX 1024
index d5d5cf9e2e6bf85c5dbfeb46e42278e0fd3020b4..f131fe9fb3a8625163b0633ee759c8aaeaaf0125 100644 (file)
@@ -21,8 +21,6 @@
  ***************************************************************************/
 #include "setup.h"
 
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
 #include "sethostname.h"
 
 /*
index 119debd688103b2c7e8f43ec6d6e53799412adb7..ffa4be166796b18aa5762ae360e8933b3d207c9f 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "setup.h"
 
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
 #include <curl/curl.h>
 #include <stdio.h>
 #include <string.h>
index fc79e5c632064b95933eafc8f23ec817ef03f2d4..3ad18c98731789cb0e540d2af69be7d731fa21e8 100644 (file)
@@ -21,8 +21,6 @@
  ***************************************************************************/
 #include "setup.h"
 
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
 #include "testutil.h"
 #include "memdebug.h"
 
index 455b5d53fab44f689d8dfa28afe566b6a4717e19..0c6be2fc432d702a6862cd4f3158fe23c370d0a0 100644 (file)
@@ -23,8 +23,6 @@
  ***************************************************************************/
 #include "setup.h"
 
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
 struct timeval tutil_tvnow(void);
 
 /*
index 4d8ae9e8bc6c5667da6055dbe69758c3baefef26..193ad84d70ca7a28cfaaa29ef18f4a8bb4ba26ab 100644 (file)
@@ -26,6 +26,4 @@
 
 #include "setup.h" /* portability help from the lib directory */
 
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
 #endif /* HEADER_CURL_SERVER_SETUP_H */