For a detailed explanation of this, please refer to Nico Weber description
here: https://chromiumcodereview.appspot.com/
10386108
R=bsalomon@google.com
Review URL: https://codereview.appspot.com/
6849075
git-svn-id: http://skia.googlecode.com/svn/trunk@6489
2bbb7eff-a529-9590-31e7-
b0007b416f81
#if defined(SKIA_DLL)
#if defined(WIN32)
- #if SKIA_IMPLEMENTATION
+ #if defined(SKIA_IMPLEMENTATION)
#define SK_API __declspec(dllexport)
#else
#define SK_API __declspec(dllimport)
#endif
#else
- #define SK_API __attribute__((visibility("default")))
+ #if defined(SKIA_IMPLEMENTATION)
+ #define SK_API __attribute__((visibility("default")))
+ #else
+ #define SK_API
+ #endif
#endif
#else
#define SK_API