mirror of
https://github.com/curl/curl.git
synced 2026-08-03 12:00:31 +03:00
Netware target (hosted on Linux gcc) doesn't support
or need __declspec.
This commit is contained in:
parent
94043b1150
commit
98a8103a3b
2 changed files with 2 additions and 3 deletions
|
|
@ -51,8 +51,7 @@ extern "C" {
|
|||
* Decorate exportable functions for Win32 and Netware DLL linking.
|
||||
* This avoids using a .def file for building libcurl.dll.
|
||||
*/
|
||||
#if (defined(WIN32) || defined(_WIN32) || defined(NETWARE)) && \
|
||||
!defined(CURL_STATICLIB)
|
||||
#if (defined(WIN32) || defined(_WIN32)) && !defined(CURL_STATICLIB)
|
||||
#if defined(BUILDING_LIBCURL)
|
||||
#define CURL_EXTERN __declspec(dllexport)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue