scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 82527a897297f87c627cd3c7a0f783a39bb0a2bd
parent 3b8e22be8e01e95eddeeb9a1949b897df9b3f869
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 17 May 2022 17:38:50 +0200

libc: Add missed flags for dragonfly

The commit b9d0dadf added macro flags for _access() but they were not
added to dragonfly.

Diffstat:
Minclude/bits/dragonfly/sys.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/bits/dragonfly/sys.h b/include/bits/dragonfly/sys.h @@ -11,6 +11,11 @@ #define CLOCKS_PER_SEC ((clock_t) 128) #define RUSAGE_SELF 0 +#define F_OK 0 +#define X_OK 1 +#define R_OK 4 +#define W_OK 2 + typedef int pid_t; extern pid_t _getpid(void);