diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-11-12 11:45:05 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-11-12 11:45:05 +0000 |
commit | 98a8103a3b1e58d1493249805ffa4fa1cc1abc81 (patch) | |
tree | 7c4ce285ef8dac4e436eddfaecc7eac4f1a1257f | |
parent | 94043b11508b9a4bf1fbee9ea17ef658c6413d9d (diff) |
Netware target (hosted on Linux gcc) doesn't support
or need __declspec.
-rw-r--r-- | include/curl/curl.h | 3 | ||||
-rw-r--r-- | lib/Makefile.netware | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 3015ad795..772fb6087 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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 diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 2f3391b54..b7554cabb 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -70,7 +70,7 @@ CP = cp -afv MPKXDC = mkxdc # Global flags for all compilers -CFLAGS = $(OPT) -D$(DB) -DNETWARE -DHAVE_CONFIG_H -DBUILDING_LIBCURL -nostdinc +CFLAGS = $(OPT) -D$(DB) -DNETWARE -DHAVE_CONFIG_H -nostdinc ifeq ($(CC),mwccnlm) LD = mwldnlm |