From 7f4bbdee3bee7a6a7352a077ba464a2d5e5337dc Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 1 Oct 2012 03:32:33 +0000 Subject: [PATCH] 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 --- README.chromium | 2 +- include/libyuv/basic_types.h | 2 +- include/libyuv/version.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.chromium b/README.chromium index d0593eb7d..2cf9f6002 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 383 +Version: 384 License: BSD License File: LICENSE diff --git a/include/libyuv/basic_types.h b/include/libyuv/basic_types.h index 62d2488bc..9e9f2abc3 100644 --- a/include/libyuv/basic_types.h +++ b/include/libyuv/basic_types.h @@ -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"))) diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 6fb5a4243..bc949c255 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -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