]> granicus.if.org Git - curl/commitdiff
Netware target (hosted on Linux gcc) doesn't support
authorGisle Vanem <gvanem@broadpark.no>
Fri, 12 Nov 2004 11:45:05 +0000 (11:45 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Fri, 12 Nov 2004 11:45:05 +0000 (11:45 +0000)
or need __declspec.

include/curl/curl.h
lib/Makefile.netware

index 3015ad795db9a7d33d95e993d2accc71538be79f..772fb6087babb5733b5416b8699a0871b9076ea2 100644 (file)
@@ -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
index 2f3391b548c5d7e286e27b1186a3802a69fba566..b7554cabb870dbb5bd9b40ff80269896d342ee90 100644 (file)
@@ -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