mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
lib9: fix dirread/stat mismatch on Snow Leopard
http://codereview.appspot.com/116096
This commit is contained in:
parent
efd88f54e8
commit
37c9485968
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
#if defined(__APPLE__)
|
||||
#define _DARWIN_NO_64_BIT_INODE /* Snow Leopard */
|
||||
#endif
|
||||
|
||||
#include <u.h>
|
||||
#define NOPLAN9DEFINES
|
||||
#include <libc.h>
|
||||
|
|
Loading…
Reference in a new issue