aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkOSFile_none.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ports/SkOSFile_none.cpp')
-rw-r--r--src/ports/SkOSFile_none.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ports/SkOSFile_none.cpp b/src/ports/SkOSFile_none.cpp
new file mode 100644
index 0000000000..e22d22ed4d
--- /dev/null
+++ b/src/ports/SkOSFile_none.cpp
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkOSFile.h"
+
+bool sk_fidentical(SkFILE* a, SkFILE* b) {
+ return false;
+}
+
+void sk_fmunmap(const void* addr, size_t length) { }
+
+void* sk_fmmap(SkFILE* f, size_t* size) {
+ return NULL;
+}