diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-09 11:52:27 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-11-09 11:52:27 (GMT) |
commit | 7df658ec1b9976e40d3c6abdf70da4560b2edd38 (patch) | |
tree | 49b6c70de7d1fcad1c71f0f5d61b6ce8b212c5fb /lib/lz4.h | |
parent | 4a6e7327c7be56abdd3c5a32d8a69213f46956d3 (diff) | |
download | lz4-7df658ec1b9976e40d3c6abdf70da4560b2edd38.zip lz4-7df658ec1b9976e40d3c6abdf70da4560b2edd38.tar.gz lz4-7df658ec1b9976e40d3c6abdf70da4560b2edd38.tar.bz2 |
removed LZ4_DLL_EXPORT=1 (2)
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -55,12 +55,15 @@ extern "C" { * LZ4_DLL_EXPORT : * Enable exporting of functions when building a Windows DLL */ -#if defined(_WIN32) && defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1) +#if defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1) # define LZ4LIB_API __declspec(dllexport) +#elif defined(LZ4_DLL_IMPORT) && (LZ4_DLL_IMPORT==1) +# define LZ4LIB_API __declspec(dllimport) #else # define LZ4LIB_API #endif + /*-************************************ * Version **************************************/ |