mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 19:59:59 +08:00
rtems-bsd-config.h.in: Added defines for O_NOFOLLOW and O_SHLOCK
This commit is contained in:
@@ -192,6 +192,16 @@
|
|||||||
#define O_EXLOCK O_EXCL
|
#define O_EXLOCK O_EXCL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* used by some user space code */
|
||||||
|
#if !defined O_NOFOLLOW
|
||||||
|
#define O_NOFOLLOW 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* used by some user space code */
|
||||||
|
#ifndef O_SHLOCK
|
||||||
|
#define O_SHLOCK 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* from limits.h on FreeBSD */
|
/* from limits.h on FreeBSD */
|
||||||
#ifndef _POSIX_HOST_NAME_MAX
|
#ifndef _POSIX_HOST_NAME_MAX
|
||||||
#define _POSIX_HOST_NAME_MAX 255
|
#define _POSIX_HOST_NAME_MAX 255
|
||||||
|
Reference in New Issue
Block a user