Fixed the 'dllimport' build issue with MSVC.

This commit is contained in:
LambdAurora 2019-03-16 16:50:56 +01:00
parent f780c0a336
commit 948fd7f625
No known key found for this signature in database
GPG Key ID: F3600344819E21A5

View File

@ -107,7 +107,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode;
# define XXH_PUBLIC_API static
# endif
#else
# if defined(WIN32) && defined(_MSC_VER)
# if defined(WIN32) && defined(_MSC_VER) && !defined(XXH_INLINE_ALL) && !defined(XXH_STATIC_LINKING_ONLY)
# ifdef XXH_EXPORT
# define XXH_PUBLIC_API __declspec(dllexport)
# else