update SK_API for non-windows builds git-svn-id: http://skia.googlecode.com/svn/trunk@1192 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
69731aa60c
commit
c009111446
@ -102,12 +102,16 @@
|
||||
#define SKIA_IMPLEMENTATION 0
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && defined(SKIA_DLL)
|
||||
#if defined(SKIA_DLL)
|
||||
#if defined(WIN32)
|
||||
#if SKIA_IMPLEMENTATION
|
||||
#define SK_API __declspec(dllexport)
|
||||
#else
|
||||
#define SK_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define SK_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
#else
|
||||
#define SK_API
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user