summaryrefslogtreecommitdiff
path: root/lib/common/BoxPlatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/BoxPlatform.h')
-rw-r--r--lib/common/BoxPlatform.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h
index cb83f7a9..b766706a 100644
--- a/lib/common/BoxPlatform.h
+++ b/lib/common/BoxPlatform.h
@@ -40,8 +40,8 @@
#endif
#endif
-// Slight hack; disable interception in raidfile test on Darwin and Windows
-#if defined __APPLE__ || defined WIN32
+// Slight hack; disable interception on Darwin within raidfile test
+#ifdef __APPLE__
// TODO: Replace with autoconf test
#define PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE
#endif
@@ -138,11 +138,6 @@
#define INFTIM -1
#endif
-// for Unix compatibility with Windows :-)
-#if !HAVE_DECL_O_BINARY
- #define O_BINARY 0
-#endif
-
#ifdef WIN32
typedef u_int64_t InodeRefType;
#else