Revision: 14552
Author: adrian.chadd
Date: Mon Apr  5 22:18:18 2010
Log: Add in local hacks (eg macosx 10.4) to define O_BINARY to be something if it doesn't exist.


http://code.google.com/p/lusca-cache/source/detail?r=14552

Modified:
 /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c
 /branches/LUSCA_HEAD/app/coss_rebuild/coss_build_dir.c

=======================================
--- /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c Mon Apr 5 20:00:59 2010 +++ /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c Mon Apr 5 22:18:18 2010
@@ -14,6 +14,11 @@
 #include "libcore/tools.h"
 #include "libsqdebug/debug.h"

+/* XXX macosx specific hack - need to generic-ify this! */
+#if !defined(O_BINARY)
+#define O_BINARY                0x0
+#endif
+
 int shutting_down = 0; /* needed for debug routines for now */

 /*
=======================================
--- /branches/LUSCA_HEAD/app/coss_rebuild/coss_build_dir.c Mon Apr 5 20:00:29 2010 +++ /branches/LUSCA_HEAD/app/coss_rebuild/coss_build_dir.c Mon Apr 5 22:18:18 2010
@@ -20,6 +20,10 @@
 #include "libsqstore/store_meta.h"
 #include "libsqstore/rebuild_entry.h"

+/* XXX macosx specific hack - need to generic-ify this! */
+#if !defined(O_BINARY)
+#define O_BINARY                0x0
+#endif

 /*
  * Rebuilding from the COSS filesystem itself is currently very, very

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to