mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 11:48:30 +00:00
Fix msync() flags on FreeBSD
This commit is contained in:
parent
ebf784d4f5
commit
fffcd98b0e
7 changed files with 95 additions and 15 deletions
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ms,MS_ASYNC,1,1,1,1,1,1,1,1
|
||||
.syscon ms,MS_ASYNC,1,1,1,1,2,1,1,1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ms,MS_INVALIDATE,2,2,2,2,2,4,2,0
|
||||
.syscon ms,MS_INVALIDATE,2,2,2,2,4,4,2,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ms,MS_SYNC,4,4,16,16,0,2,4,4
|
||||
.syscon ms,MS_SYNC,4,4,16,16,1,2,4,4
|
||||
|
|
|
@ -7,11 +7,10 @@ extern const int MS_SYNC;
|
|||
extern const int MS_ASYNC;
|
||||
extern const int MS_INVALIDATE;
|
||||
|
||||
#define MS_ASYNC 1
|
||||
#define MS_SYNC MS_SYNC
|
||||
#define MS_ASYNC MS_ASYNC
|
||||
#define MS_INVALIDATE MS_INVALIDATE
|
||||
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MSYNC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue