From 37c9485968da09d0412b2c1297e9c325789476a3 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 13 Sep 2009 17:30:12 -0400 Subject: lib9: fix dirread/stat mismatch on Snow Leopard http://codereview.appspot.com/116096 --- include/u.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/u.h b/include/u.h index 5f53736f..e4279179 100644 --- a/include/u.h +++ b/include/u.h @@ -34,6 +34,9 @@ extern "C" { #if defined(__AIX__) # define _XOPEN_SOURCE 1 #endif +#if defined(__APPLE__) +# define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */ +#endif #define _LARGEFILE64_SOURCE 1 #define _FILE_OFFSET_BITS 64 -- cgit v1.2.3