1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Skip test #558 and #559 also when using a Win32 DLL

This commit is contained in:
Yang Tse 2009-04-09 01:24:41 +00:00
parent e5f1480a38
commit 63fad159e8

View File

@ -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) */