Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.
#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.
*/
***************************************************************************/
#include "setup.h"
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
#include "curl_gethostname.h"
#define HOSTNAME_MAX 1024
***************************************************************************/
#include "setup.h"
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
#include "sethostname.h"
/*
#include "setup.h"
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
#include <curl/curl.h>
#include <stdio.h>
#include <string.h>
***************************************************************************/
#include "setup.h"
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
#include "testutil.h"
#include "memdebug.h"
***************************************************************************/
#include "setup.h"
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
struct timeval tutil_tvnow(void);
/*
#include "setup.h" /* portability help from the lib directory */
-#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
-
#endif /* HEADER_CURL_SERVER_SETUP_H */