diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/sethostname.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/libtest/sethostname.h b/tests/libtest/sethostname.h index 192f037ab..032eaa078 100644 --- a/tests/libtest/sethostname.h +++ b/tests/libtest/sethostname.h @@ -23,12 +23,8 @@ #ifdef CURL_STATICLIB # define LIBHOSTNAME_EXTERN #elif defined(WIN32) || defined(__SYMBIAN32__) -# if defined(BUILDING_LIBCURL) -# define LIBHOSTNAME_EXTERN __declspec(dllexport) -# else -# define LIBHOSTNAME_EXTERN __declspec(dllimport) -# endif -#elif defined(BUILDING_LIBCURL) && defined(CURL_HIDDEN_SYMBOLS) +# define LIBHOSTNAME_EXTERN __declspec(dllexport) +#elif defined(CURL_HIDDEN_SYMBOLS) # define LIBHOSTNAME_EXTERN CURL_EXTERN_SYMBOL #else # define LIBHOSTNAME_EXTERN |