Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: include/core/SkPreConfig.h

Issue 12921003: reland 8200 w/ fix for android (use fullpath instead of path) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkMMapStream.h ('k') | include/core/SkStream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPreConfig.h
===================================================================
--- include/core/SkPreConfig.h (revision 8205)
+++ include/core/SkPreConfig.h (working copy)
@@ -108,6 +108,17 @@
//////////////////////////////////////////////////////////////////////
+#ifndef SK_MMAP_SUPPORT
+ #ifdef SK_BUILD_FOR_WIN32
+ // by default, if we're windows, we assume we don't have mmap
+ #define SK_MMAP_SUPPORT 0
+ #else
+ #define SK_MMAP_SUPPORT 1
+ #endif
+#endif
+
+//////////////////////////////////////////////////////////////////////
+
/**
* SK_CPU_SSE_LEVEL
*
« no previous file with comments | « include/core/SkMMapStream.h ('k') | include/core/SkStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698