Revision: 14532
Author: adrian.chadd
Date: Fri Apr 2 23:10:36 2010
Log: Issue #99 - Fix the build on MacOSX - there's no O_BINARY flag!
http://code.google.com/p/lusca-cache/source/detail?r=14532
Modified:
/branches/LUSCA_HEAD/app/ufs_rebuild/ufs_build_dir.c
=======================================
--- /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_build_dir.c Fri Apr 2
23:06:20 2010
+++ /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_build_dir.c Fri Apr 2
23:10:36 2010
@@ -8,7 +8,12 @@
* Adrian Chadd <[email protected]>
*/
-#include "config.h"
+#include "../../include/config.h"
+
+/* XXX macosx specific hack - need to generic-ify this! */
+#if !defined(O_BINARY)
+#define O_BINARY 0x0
+#endif
#if HAVE_INTTYPES_H
#include <inttypes.h>
--
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.