Commit a144bb8b authored by Yang Tse's avatar Yang Tse
Browse files

build adjustments: functionally revert commits 4d3fb91f and bbfe1182

Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.
parent 4d3fb91f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -35,12 +35,6 @@

#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.
 */
+0 −2
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
 ***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

#include "curl_gethostname.h"

#define HOSTNAME_MAX 1024
+0 −2
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
 ***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

#include "sethostname.h"

/*
+0 −2
Original line number Diff line number Diff line
@@ -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>
+0 −2
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
 ***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

#include "testutil.h"
#include "memdebug.h"

Loading