summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/macos.c b/macos.c
index ba461ee4f..aa5036ea2 100644
--- a/macos.c
+++ b/macos.c
@@ -82,6 +82,11 @@ int enumerate_devices (device_callback_t callback, void *userdata)
}
/* NOP wrappers to comform with windows.c */
+int subsurface_rename(const char *path, const char *newpath)
+{
+ return rename(path, newpath);
+}
+
int subsurface_open(const char *path, int oflags, mode_t mode)
{
return open(path, oflags, mode);