aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-24 22:14:01 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-24 22:14:01 +0000
commit7989b5890feb2d0e3bb59901d8ac79e3777d9b31 (patch)
treefbb6ce9cf792b47663a2e3edaa12575e6e2a91e7 /src/core
parent9711e446676e6bf84b3fff916fd1d7537933a110 (diff)
Fix for compiler error:
src\core\skdata.cpp(126) : fatal error C1017: invalid integer constant expression git-svn-id: http://skia.googlecode.com/svn/trunk@8849 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkData.cpp b/src/core/SkData.cpp
index 53d5f232ab..e47bbce28e 100644
--- a/src/core/SkData.cpp
+++ b/src/core/SkData.cpp
@@ -123,7 +123,7 @@ SkData* SkData::NewFromFILE(SkFILE* f) {
return SkData::NewWithProc(addr, size, sk_munmap_releaseproc, NULL);
}
-#elif SK_BUILD_FOR_WIN32
+#elif defined(SK_BUILD_FOR_WIN32)
template <typename HandleType, HandleType InvalidValue, BOOL (WINAPI * Close)(HandleType)>
class SkAutoTHandle : SkNoncopyable {