summaryrefslogtreecommitdiffstats
path: root/libcutils/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcutils/fs.c')
-rw-r--r--libcutils/fs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcutils/fs.c b/libcutils/fs.c
index 8d1da21..286a8eb 100644
--- a/libcutils/fs.c
+++ b/libcutils/fs.c
@@ -148,6 +148,8 @@ fail_closed:
return -1;
}
+#ifndef __APPLE__
+
int fs_mkdirs(const char* path, mode_t mode) {
int res = 0;
int fd = 0;
@@ -231,3 +233,5 @@ done:
free(buf);
return res;
}
+
+#endif