summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Summers <ben@fluffy.co.uk>2006-01-08 21:29:21 +0000
committerBen Summers <ben@fluffy.co.uk>2006-01-08 21:29:21 +0000
commit41f02c67b06ae838dc9fc8829741ed51abfe5b42 (patch)
tree911e759c3343ad9dd7017fae949e603777c75342
parent625d588938d638ce72457305203e61e9f9ebc3b8 (diff)
Quick hack to stop attempting to intercept clib functions on Darwin, pending autoconf test
-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