aboutsummaryrefslogtreecommitdiff
path: root/linux-user/ppc/target_fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/ppc/target_fcntl.h')
-rw-r--r--linux-user/ppc/target_fcntl.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/linux-user/ppc/target_fcntl.h b/linux-user/ppc/target_fcntl.h
new file mode 100644
index 0000000000..d74ab710cf
--- /dev/null
+++ b/linux-user/ppc/target_fcntl.h
@@ -0,0 +1,17 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation, or (at your option) any
+ * later version. See the COPYING file in the top-level directory.
+ */
+
+#ifndef PPC_TARGET_FCNTL_H
+#define PPC_TARGET_FCNTL_H
+
+#define TARGET_O_DIRECTORY 040000 /* must be a directory */
+#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */
+#define TARGET_O_LARGEFILE 0200000
+#define TARGET_O_DIRECT 0400000 /* direct disk access hint */
+
+#include "../generic/fcntl.h"
+#endif