summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorMarkus Minichmayr <markus@tapkey.com>2018-03-02 17:40:36 +0100
committerMarkus Minichmayr <markus@tapkey.com>2022-02-15 08:54:22 +0100
commit6634726906548b00cb14cada82b3aa6fd445c8d4 (patch)
tree20a13274042e391aed4bffd15acbb4237bc77b1b /config.h.cmake
parentf109855e238f7857d4683be838e8acd5fcafd0a2 (diff)
downloadlibical-git-6634726906548b00cb14cada82b3aa6fd445c8d4.tar.gz
icalmemory: Making memory management functions configurable.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 93f7c6e7..834dd7b1 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -551,3 +551,7 @@ typedef ssize_t IO_SSIZE_T;
#define icalassert(...) assert(__VA_ARGS__)
#define icalerrprintf(...) fprintf(stderr, __VA_ARGS__)
+
+#define ICALMEMORY_DEFAULT_MALLOC malloc
+#define ICALMEMORY_DEFAULT_REALLOC realloc
+#define ICALMEMORY_DEFAULT_FREE free \ No newline at end of file