aboutsummaryrefslogtreecommitdiff
path: root/less.h
diff options
context:
space:
mode:
Diffstat (limited to 'less.h')
-rw-r--r--less.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/less.h b/less.h
index 4a4f26d83f05..2ba8c353deeb 100644
--- a/less.h
+++ b/less.h
@@ -274,6 +274,15 @@ typedef off_t LINENUM;
#endif
/*
+ * Flags for creat()
+ */
+#if MSDOS_COMPILER
+#define CREAT_RW (S_IREAD|S_IWRITE)
+#else
+#define CREAT_RW 0644
+#endif
+
+/*
* Set a file descriptor to binary mode.
*/
#if MSDOS_COMPILER==MSOFTC