Index: trunk/Ohana/src/libohana/include/ohana.h
===================================================================
--- trunk/Ohana/src/libohana/include/ohana.h	(revision 28250)
+++ trunk/Ohana/src/libohana/include/ohana.h	(revision 28255)
@@ -110,5 +110,5 @@
 # endif
 
-# ifdef darwin_x86
+# if defined(darwin_x86) || defined(_DARWIN_C_SOURCE)
 # define BYTE_SWAP
 # endif
@@ -139,4 +139,7 @@
 # define OFF_T_FMT "%jd"
 # endif
+# ifdef _DARWIN_C_SOURCE
+# define OFF_T_FMT "%jd"
+#endif
 # ifndef OFF_T_FMT
 # define OFF_T_FMT "%ld"
