X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fxml.c;h=5103d75d8d34d01901cf6505fc05950b98b4ad14;hb=740a1b2d814ec0f6ecaede7f195de468ce757ae9;hp=542fc3791b7d1ce8c4ddfe0bc3c482046a995d8e;hpb=883833a4b3dabec325edf1ca938000f91d587c00;p=wimlib diff --git a/src/xml.c b/src/xml.c index 542fc379..5103d75d 100644 --- a/src/xml.c +++ b/src/xml.c @@ -1092,7 +1092,6 @@ xml_get_max_image_name_len(const WIMStruct *wim) return max_len; } -#ifdef ENABLE_CUSTOM_MEMORY_ALLOCATOR void xml_set_memory_allocator(void *(*malloc_func)(size_t), void (*free_func)(void *), @@ -1100,7 +1099,6 @@ xml_set_memory_allocator(void *(*malloc_func)(size_t), { xmlMemSetup(free_func, malloc_func, realloc_func, STRDUP); } -#endif static int calculate_dentry_statistics(struct wim_dentry *dentry, void *arg)