From: Yang Tse Date: Thu, 9 Apr 2009 01:24:41 +0000 (+0000) Subject: Skip test #558 and #559 also when using a Win32 DLL X-Git-Tag: curl-7_19_5~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63fad159e84d5ea86ddb28dc1c1aad8459d98554;p=thirdparty%2Fcurl.git Skip test #558 and #559 also when using a Win32 DLL --- diff --git a/tests/libtest/lib558.c b/tests/libtest/lib558.c index 6036fb2a82..eebf6dfa51 100644 --- a/tests/libtest/lib558.c +++ b/tests/libtest/lib558.c @@ -42,8 +42,16 @@ * ones in the public API. */ +#if defined(CURL_HIDDEN_SYMBOLS) +# define SKIP_TEST 1 +#elif defined(WIN32) && !defined(CURL_STATICLIB) +# define SKIP_TEST 1 +#else +# undef SKIP_TEST +#endif + -#if !defined(CURL_HIDDEN_SYMBOLS) +#if !defined(SKIP_TEST) #ifdef LIB559 static Curl_addrinfo *fake_ai(void) @@ -167,7 +175,7 @@ cleanup: } -#else /* !defined(CURL_HIDDEN_SYMBOLS) */ +#else /* !defined(SKIP_TEST) */ int test(char *URL) @@ -178,4 +186,4 @@ int test(char *URL) } -#endif /* !defined(CURL_HIDDEN_SYMBOLS) */ +#endif /* !defined(SKIP_TEST) */