aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/sys_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfile/sys_options.h')
-rw-r--r--src/gfile/sys_options.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gfile/sys_options.h b/src/gfile/sys_options.h
index 41cf6a63..ee52298c 100644
--- a/src/gfile/sys_options.h
+++ b/src/gfile/sys_options.h
@@ -31,6 +31,19 @@
#define GFILE_NEED_NOAUTOMOUNT FALSE
#endif
/**
+ * @brief Should the filesystem be synced automatically
+ * @details The filesystem will automatically be synced after an open() or
+ * write() call unless this feature is disabled.
+ * @details If this feature is disabled, the user should sync the filesystem
+ * himself using @p gfileSync()
+ * @details Not all filesystems implement the syncing feature. This feature will
+ * have no effect in such a case.
+ * @details Defaults to FALSE
+ */
+ #ifndef GFILE_NEED_NOAUTOSYNC
+ #define GFILE_NEED_NOAUTOSYNC FALSE
+ #endif
+ /**
* @brief Include printg, fprintg etc functions
* @details Defaults to FALSE
*/