lib9: fix dirread/stat mismatch on Snow Leopard
http://codereview.appspot.com/116096
This commit is contained in:
parent
efd88f54e8
commit
37c9485968
@ -34,6 +34,9 @@ extern "C" {
|
|||||||
#if defined(__AIX__)
|
#if defined(__AIX__)
|
||||||
# define _XOPEN_SOURCE 1
|
# define _XOPEN_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
# define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */
|
||||||
|
#endif
|
||||||
#define _LARGEFILE64_SOURCE 1
|
#define _LARGEFILE64_SOURCE 1
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,3 @@
|
|||||||
#if defined(__APPLE__)
|
|
||||||
#define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <u.h>
|
#include <u.h>
|
||||||
#define NOPLAN9DEFINES
|
#define NOPLAN9DEFINES
|
||||||
#include <libc.h>
|
#include <libc.h>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user