[Box Backup-dev] COMMIT r311 - box/trunk/lib/common

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sun, 8 Jan 2006 21:29:23 +0000 (GMT)


Author: ben
Date: 2006-01-08 21:29:21 +0000 (Sun, 08 Jan 2006)
New Revision: 311

Modified:
   box/trunk/lib/common/BoxPlatform.h
Log:
Quick hack to stop attempting to intercept clib functions on Darwin, pending autoconf test

Modified: box/trunk/lib/common/BoxPlatform.h
===================================================================
--- box/trunk/lib/common/BoxPlatform.h	2006-01-07 23:35:52 UTC (rev 310)
+++ box/trunk/lib/common/BoxPlatform.h	2006-01-08 21:29:21 UTC (rev 311)
@@ -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