Commit 7f4bbdee authored by fbarchard@google.com's avatar fbarchard@google.com

attribute visible for gcc but not APPLE

BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/856005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@384 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 2e4fccde
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 383
Version: 384
License: BSD
License File: LICENSE
......
......@@ -85,7 +85,7 @@ typedef signed char int8;
#else
#define LIBYUV_API
#endif // LIBYUV_BUILDING_SHARED_LIBRARY
#elif defined(__GNUC__) && __GNUC__ >= 4 && \
#elif defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__APPLE__) && \
(defined(LIBYUV_BUILDING_SHARED_LIBRARY) || \
defined(LIBYUV_USING_SHARED_LIBRARY))
#define LIBYUV_API __attribute__ ((visibility ("default")))
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 383
#define LIBYUV_VERSION 384
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
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