acl  3.5.3.0
acl_define_macosx.h
浏览该文件的文档.
1 #ifndef __ACL_DEFINE_MACOSX_INCLUDE_H__
2 #define __ACL_DEFINE_MACOSX_INCLUDE_H__
3 
4 #if defined(MACOSX) || defined(__APPLE__)
5 # define ACL_UNIX
6 # define ACL_MACOSX
7 
8 # include <sys/types.h>
9 # define ACL_USE_PATHS_H
10 # define ACL_HAS_FLOCK_LOCK
11 # define ACL_HAS_FCNTL_LOCK
12 # define ACL_INTERNAL_LOCK ACL_FLOCK_STYLE_FLOCK
13 # define ACL_ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
14 # define ACL_PATH_MAILDIR "/var/mail"
15 # define ACL_PATH_BSHELL "/bin/sh"
16 # define ACL_PATH_DEFPATH "/usr/bin:/usr/bsd"
17 # define ACL_PATH_STDPATH "/usr/bin:/usr/sbin:/usr/bsd"
18 
19 # define ACL_HAVE_NO_STAT64
20 
21 # ifdef ACL_HAVE_NO_STAT64
22 # define acl_stat stat
23 # define acl_fstat fstat
24 # else
25 # define acl_stat stat64
26 # define acl_fstat fstat64
27 # endif
28 
29 # ifndef ACL_WAIT_STATUS_T
30  typedef int ACL_WAIT_STATUS_T;
31 # define ACL_NORMAL_EXIT_STATUS(status) !(status)
32 # endif
33 
34 # define ACL_FIONREAD_IN_TERMIOS_H
35 # define ACL_HAVE_NO_RWLOCK
36 
37 #endif
38 
39 #endif /* __ACL_DEFINE_MACOSX_INCLUDE_H__ */
40