mirror of
https://github.com/google/brotli.git
synced 2024-11-09 21:50:07 +00:00
Fix windows builds
This commit is contained in:
parent
09543b5fc5
commit
9bce220b70
@ -134,7 +134,9 @@ OR:
|
||||
#define ATTRIBUTE_ALWAYS_INLINE
|
||||
#endif
|
||||
|
||||
#if BROTLI_MODERN_COMPILER || __has_attribute(visibility)
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#define ATTRIBUTE_VISIBILITY_HIDDEN
|
||||
#elif BROTLI_MODERN_COMPILER || __has_attribute(visibility)
|
||||
#define ATTRIBUTE_VISIBILITY_HIDDEN __attribute__ ((visibility ("hidden")))
|
||||
#else
|
||||
#define ATTRIBUTE_VISIBILITY_HIDDEN
|
||||
|
Loading…
Reference in New Issue
Block a user