From 390a6408563067613b29de895cb40e4d0386d62c Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 26 Jun 2009 15:37:53 +0300 Subject: Basic support for building with Cygwin and MinGW using the Autotools based build system. It's not good yet, more fixes will follow. --- src/liblzma/common/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liblzma/common') diff --git a/src/liblzma/common/common.h b/src/liblzma/common/common.h index de252604..1fd778b0 100644 --- a/src/liblzma/common/common.h +++ b/src/liblzma/common/common.h @@ -17,7 +17,7 @@ #include "../../common/mythread.h" #include "../../common/integer.h" -#if !defined(LZMA_API_STATIC) && defined(_WIN32) +#if defined(DLL_EXPORT) && (defined(_WIN32) || defined(__CYGWIN__)) # define LZMA_API_EXPORT __declspec(dllexport) // Don't use ifdef or defined() below. #elif HAVE_VISIBILITY -- cgit v1.2.3