aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-20 01:40:45 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-11-20 01:40:45 +0000
commit866ff8787a9823d05363e6f95ea4d599c6fca8fd (patch)
tree62f08e88c0ed7dd18d27af2f342186d83bf7dd3e /include
parent07784a041925f9a921e390e782195a622c76fbfa (diff)
Reverting r6489 to fix compiler error in Chrome
143> LINK : program database E:\b\build\slave\win_layout\build\src\build\Debug\ui.dll.pdb missing; performing full link 143> Creating library ..\build\Debug\lib\ui.lib and object ..\build\Debug\lib\ui.exp 143>throb_animation.obj : error LNK2001: unresolved external symbol "private: static void (__cdecl*const * const SkMatrix::gMapXYProcs)(class SkMatrix const &,float,float,struct SkPoint *)" (?gMapXYProcs@SkMatrix@@0QBQ6AXABV1@MMPAUSkPoint@@@ZB) etc git-svn-id: http://skia.googlecode.com/svn/trunk@6499 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPreConfig.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h
index bc60342ea0..756aaea6e0 100644
--- a/include/core/SkPreConfig.h
+++ b/include/core/SkPreConfig.h
@@ -195,17 +195,13 @@
#if defined(SKIA_DLL)
#if defined(WIN32)
- #if defined(SKIA_IMPLEMENTATION)
+ #if SKIA_IMPLEMENTATION
#define SK_API __declspec(dllexport)
#else
#define SK_API __declspec(dllimport)
#endif
#else
- #if defined(SKIA_IMPLEMENTATION)
- #define SK_API __attribute__((visibility("default")))
- #else
- #define SK_API
- #endif
+ #define SK_API __attribute__((visibility("default")))
#endif
#else
#define SK_API