summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ext4_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ext4_config.h b/include/ext4_config.h
index 0fc06cd..82dff16 100644
--- a/include/ext4_config.h
+++ b/include/ext4_config.h
@@ -144,6 +144,11 @@ extern "C" {
#define CONFIG_MAX_TRUNCATE_SIZE (16ul * 1024ul * 1024ul)
#endif
+
+/**@brief Unaligned access switch on/off*/
+#ifndef CONFIG_UNALIGNED_ACCESS
+#define CONFIG_UNALIGNED_ACCESS 1
+#endif
#ifdef __cplusplus
}
#endif