fixes static compilation under Windows (#246)
This commit is contained in:
parent
e64a926924
commit
7e112cfa5c
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,6 +11,7 @@
|
||||
*.so
|
||||
*.so.*
|
||||
*.dylib
|
||||
*.dSYM # apple
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
|
@ -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
|
||||
|
3
programs/.gitignore
vendored
3
programs/.gitignore
vendored
@ -13,3 +13,6 @@ fuzzer32
|
||||
|
||||
# tests files
|
||||
tmp*
|
||||
|
||||
# artefacts
|
||||
*.dSYM
|
||||
|
Loading…
Reference in New Issue
Block a user