summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common/BoxPlatform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h
index 774776cb..58a5fdae 100644
--- a/lib/common/BoxPlatform.h
+++ b/lib/common/BoxPlatform.h
@@ -40,6 +40,12 @@
#endif
#endif
+// Slight hack; disable interception on Darwin within raidfile test
+#ifdef __APPLE__
+ // TODO: Replace with autoconf test
+ #define PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE
+#endif
+
// Find out if credentials on UNIX sockets can be obtained
#ifndef HAVE_GETPEEREID
#if !HAVE_DECL_SO_PEERCRED