summaryrefslogtreecommitdiffstats
path: root/lib/lz4.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lz4.h')
-rw-r--r--lib/lz4.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/lz4.h b/lib/lz4.h
index dfe6f2a..3ece4dd 100644
--- a/lib/lz4.h
+++ b/lib/lz4.h
@@ -55,12 +55,8 @@ extern "C" {
* LZ4_DLL_EXPORT :
* Enable exporting of functions when building a Windows DLL
*/
-#if defined(_WIN32)
-# if defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1)
-# define LZ4LIB_API __declspec(dllexport)
-# else
-# define LZ4LIB_API __declspec(dllimport)
-# endif
+#if defined(_WIN32) && defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1)
+# define LZ4LIB_API __declspec(dllexport)
#else
# define LZ4LIB_API
#endif