lib9: fix dirread/stat mismatch on Snow Leopard

http://codereview.appspot.com/116096
This commit is contained in:
Russ Cox 2009-09-13 17:30:12 -04:00
parent efd88f54e8
commit 37c9485968
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -1,7 +1,3 @@
#if defined(__APPLE__)
#define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */
#endif
#include <u.h>
#define NOPLAN9DEFINES
#include <libc.h>