< prev index next >
src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template
Print this page
*** 25,34 ****
--- 25,36 ----
*
*/
@@END_COPYRIGHT@@
+ #define _GNU_SOURCE
+
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
*** 53,62 ****
--- 55,65 ----
static final int PREFIX_O_APPEND = O_APPEND;
static final int PREFIX_O_CREAT = O_CREAT;
static final int PREFIX_O_EXCL = O_EXCL;
static final int PREFIX_O_TRUNC = O_TRUNC;
static final int PREFIX_O_SYNC = O_SYNC;
+ static final int PREFIX_O_DIRECT = O_DIRECT;
#ifndef O_DSYNC
// At least FreeBSD doesn't define O_DSYNC
static final int PREFIX_O_DSYNC = O_SYNC;
#else
< prev index next >