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
This commit is contained in:
robertphillips@google.com 2013-04-24 22:14:01 +00:00
parent 9711e44667
commit 7989b5890f

View File

@ -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 {