lib: Define O_TMPFILE for GNU make 4.4.1.
* include/fcntl.h (O_TMPFILE): New define.
This commit is contained in:
parent
ad7ce36b5b
commit
c20f6ac025
|
@ -1,6 +1,7 @@
|
|||
/* -*-comment-start: "//";comment-end:""-*-
|
||||
* GNU Mes --- Maxwell Equations of Software
|
||||
* Copyright © 2017 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
* Copyright © 2023 Emily Trau <emily@downunderctf.com>
|
||||
*
|
||||
* This file is part of GNU Mes.
|
||||
*
|
||||
|
@ -40,10 +41,11 @@
|
|||
#define O_APPEND 0x400
|
||||
|
||||
#ifdef __arm__
|
||||
#define O_DIRECTORY 0x4000
|
||||
/*#define O_DIRECT 0x10000*/
|
||||
#define O_DIRECTORY 0x4000
|
||||
#define O_TMPFILE 0x404000
|
||||
#else
|
||||
#define O_DIRECTORY 0x10000
|
||||
#define O_DIRECTORY 0x10000
|
||||
#define O_TMPFILE 0x410000
|
||||
#endif
|
||||
|
||||
#elif __GNU__
|
||||
|
|
Loading…
Reference in a new issue