summaryrefslogtreecommitdiff
path: root/src/file
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2014-06-08 12:05:17 -0700
committerSam Lantinga <slouken@libsdl.org>2014-06-08 12:05:17 -0700
commit85e4bbb06b81c3c96168b52cbe0ee278d9682ff8 (patch)
tree425fc816168942f05c66f9a3884bf8e0cb0935e5 /src/file
parent1c9da075152c7dee28a71920736b65cb42ef273d (diff)
The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL
Diffstat (limited to 'src/file')
-rw-r--r--src/file/SDL_rwops.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c
index 14f3cd1a79..41f6c6d0c4 100644
--- a/src/file/SDL_rwops.c
+++ b/src/file/SDL_rwops.c
@@ -766,28 +766,4 @@ SDL_WriteBE64(SDL_RWops * dst, Uint64 value)
return SDL_RWwrite(dst, &swapped, sizeof (swapped), 1);
}
-
-/* SDL_RWops on NACL are implemented using nacl_io, and require mount points
- * to be established before actual file operations are performed
- *
- * Ref: https://developers.google.com/native-client/dev/devguide/coding/nacl_io?hl=es
- */
-
-int
-SDL_RWMount(const char* source, const char* target, const char* filesystemtype,
- unsigned long mountflags, const void *data) {
-#if __NACL__
- return mount(source, target, filesystemtype, mountflags, data);
-#endif /* __NACL__ */
- return SDL_SetError ("Mount not supported on this platform");
-}
-
-int
-SDL_RWUmount(const char *target) {
-#if __NACL__
- return umount(target);
-#endif /* __NACL__ */
- return SDL_SetError ("Umount not supported on this platform");
-}
-
/* vi: set ts=4 sw=4 expandtab: */