aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index 720896255..4ea0aee36 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -91,5 +91,12 @@ struct OsFile {
# define SQLITE_MIN_SLEEP_MS 1000
#endif
+/*
+** Default permissions when creating a new file
+*/
+#ifndef SQLITE_DEFAULT_FILE_PERMISSIONS
+# define SQLITE_DEFAULT_FILE_PERMISSIONS 0644
+#endif
+
#endif /* _SQLITE_OS_UNIX_H_ */