mirror of
https://github.com/FEX-Emu/xxHash.git
synced 2024-11-23 14:39:40 +00:00
Fixed the 'dllimport' build issue with MSVC.
This commit is contained in:
parent
f780c0a336
commit
948fd7f625
2
xxhash.h
2
xxhash.h
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user