diff options
Diffstat (limited to 'ports/SkOSFile_none.cpp')
-rw-r--r-- | ports/SkOSFile_none.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/SkOSFile_none.cpp b/ports/SkOSFile_none.cpp new file mode 100644 index 00000000..7ed8ab4c --- /dev/null +++ b/ports/SkOSFile_none.cpp @@ -0,0 +1,26 @@ +/* + * 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; +} + +int sk_fileno(SkFILE* f) { + return -1; +} + +void sk_fmunmap(const void* addr, size_t length) { } + +void* sk_fdmmap(int fd, size_t* size) { + return NULL; +} + +void* sk_fmmap(SkFILE* f, size_t* size) { + return NULL; +} |