Commit dac3b597 authored by Johann Koenig's avatar Johann Koenig Committed by Gerrit Code Review
Browse files

Merge "'protected' visibility unsupported on macho"

parents 8739a182 3fbc371e
......@@ -23,7 +23,7 @@
#define DECLARE_ALIGNED(n, typ, val) typ val
#endif
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32)
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) && !defined(__MACH__)
#define DECLARE_PROTECTED(decl) decl __attribute__((visibility("protected")))
#else
#define DECLARE_PROTECTED(decl) decl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment