fix initialization of cxDefaultAllocator for MSVC

Thu, 25 Sep 2025 14:49:26 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 25 Sep 2025 14:49:26 +0200
changeset 1395
395ad9f8da44
parent 1394
7b23c6db9500
child 1396
533ed620fd73

fix initialization of cxDefaultAllocator for MSVC

src/allocator.c file | annotate | diff | comparison | revisions
--- a/src/allocator.c	Thu Sep 25 14:30:28 2025 +0200
+++ b/src/allocator.c	Thu Sep 25 14:49:26 2025 +0200
@@ -73,7 +73,7 @@
         NULL
 };
 const CxAllocator * const cxStdlibAllocator = &cx_stdlib_allocator;
-const CxAllocator * cxDefaultAllocator = cxStdlibAllocator;
+const CxAllocator * cxDefaultAllocator = &cx_stdlib_allocator;
 
 int cx_reallocate_(
         void **mem,

mercurial