aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/chkhostname.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-10 17:29:37 +0200
committerYang Tse <yangsita@gmail.com>2012-04-10 17:29:37 +0200
commitbbfe1182098b2451b1f457b37c2b53fe89e537e8 (patch)
treec18fbfdca7de7957ff5e66c448287a66250c9daf /tests/libtest/chkhostname.c
parente5c14674f0cd50d1dfc71e73894753f7bffa91ae (diff)
libtests: build adjustment
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
Diffstat (limited to 'tests/libtest/chkhostname.c')
-rw-r--r--tests/libtest/chkhostname.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libtest/chkhostname.c b/tests/libtest/chkhostname.c
index 58930467f..bf0dbfda2 100644
--- a/tests/libtest/chkhostname.c
+++ b/tests/libtest/chkhostname.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -21,6 +21,8 @@
***************************************************************************/
#include "setup.h"
+#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */
+
#include "curl_gethostname.h"
#define HOSTNAME_MAX 1024