aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-06-26 15:37:53 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-06-26 15:37:53 +0300
commit390a6408563067613b29de895cb40e4d0386d62c (patch)
tree74efbd8a29a433fb3c15697d65b8dc3f00011b87 /src/liblzma/common
parentFix @variables@ to $(variables) in Makefile.am files. (diff)
downloadxz-390a6408563067613b29de895cb40e4d0386d62c.tar.xz
Basic support for building with Cygwin and MinGW using
the Autotools based build system. It's not good yet, more fixes will follow.
Diffstat (limited to 'src/liblzma/common')
-rw-r--r--src/liblzma/common/common.h2
1 files changed, 1 insertions, 1 deletions
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