Netware target (hosted on Linux gcc) doesn't support
or need __declspec.
This commit is contained in:
parent
94043b1150
commit
98a8103a3b
@ -51,8 +51,7 @@ extern "C" {
|
|||||||
* Decorate exportable functions for Win32 and Netware DLL linking.
|
* Decorate exportable functions for Win32 and Netware DLL linking.
|
||||||
* This avoids using a .def file for building libcurl.dll.
|
* This avoids using a .def file for building libcurl.dll.
|
||||||
*/
|
*/
|
||||||
#if (defined(WIN32) || defined(_WIN32) || defined(NETWARE)) && \
|
#if (defined(WIN32) || defined(_WIN32)) && !defined(CURL_STATICLIB)
|
||||||
!defined(CURL_STATICLIB)
|
|
||||||
#if defined(BUILDING_LIBCURL)
|
#if defined(BUILDING_LIBCURL)
|
||||||
#define CURL_EXTERN __declspec(dllexport)
|
#define CURL_EXTERN __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
|
@ -70,7 +70,7 @@ CP = cp -afv
|
|||||||
MPKXDC = mkxdc
|
MPKXDC = mkxdc
|
||||||
|
|
||||||
# Global flags for all compilers
|
# 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)
|
ifeq ($(CC),mwccnlm)
|
||||||
LD = mwldnlm
|
LD = mwldnlm
|
||||||
|
Loading…
Reference in New Issue
Block a user