shithub: libvpx

Download patch

ref: dac3b597219a2befd2f1dc1c9cd4ff347a90f572
parent: 8739a182c8250d2e44cd01a7da0a58773e537b3b
parent: 3fbc371e999c00967441befb7082413dd533f9a2
author: Johann Koenig <johannkoenig@google.com>
date: Mon May 15 17:21:45 EDT 2017

Merge "'protected' visibility unsupported on macho"

--- a/vpx_ports/mem.h
+++ b/vpx_ports/mem.h
@@ -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