[MLton-commit] r4512
Matthew Fluet
MLton@mlton.org
Tue, 9 May 2006 19:29:29 -0700
Moved conditional define of O_DYSNC and O_RSYNC to platform-independent code
----------------------------------------------------------------------
U mlton/branches/on-20050822-x86_64-branch/runtime/platform/darwin.h
----------------------------------------------------------------------
Modified: mlton/branches/on-20050822-x86_64-branch/runtime/platform/darwin.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/platform/darwin.h 2006-05-10 02:04:28 UTC (rev 4511)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/platform/darwin.h 2006-05-10 02:29:29 UTC (rev 4512)
@@ -33,14 +33,6 @@
#define MLton_Platform_OS_host "darwin"
-// MacOS doesn't support these... yet.
-#ifndef O_RSYNC
-#define O_RSYNC O_SYNC
-#endif
-#ifndef O_DSYNC
-#define O_DSYNC O_SYNC
-#endif
-
// MacOS only defines this if POSIX_C_SOURCE is defined.
// However, defining that breaks half the osx system headers.
// They couldn't possibly change the number at this point anyways.