summaryrefslogtreecommitdiff
path: root/include/ext4_config.h
diff options
context:
space:
mode:
authorMichał Majewicz <mmajewicz@users.noreply.github.com>2016-08-19 12:31:13 +0200
committerMichał Majewicz <mmajewicz@users.noreply.github.com>2016-08-19 12:31:13 +0200
commit7b3b9a6619e2247061e433a7a5269056720e727f (patch)
treee76c6645aa6e12380ba8b94ce4eae0c3b81017e2 /include/ext4_config.h
parent2577ef35e81f7e8064cf8dd5c23c44efe1407dc5 (diff)
ext4: malloc substitution - moved option definition and changed names
Diffstat (limited to 'include/ext4_config.h')
-rw-r--r--include/ext4_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ext4_config.h b/include/ext4_config.h
index 66f4c19..f42b6fc 100644
--- a/include/ext4_config.h
+++ b/include/ext4_config.h
@@ -149,6 +149,13 @@ extern "C" {
#ifndef CONFIG_UNALIGNED_ACCESS
#define CONFIG_UNALIGNED_ACCESS 0
#endif
+
+/**@brief Switches use of malloc/free functions family
+ * from standard library to user provided*/
+#ifndef CONFIG_USE_USER_MALLOC
+#define CONFIG_USE_USER_MALLOC 0
+#endif
+
#ifdef __cplusplus
}
#endif