fix name of cx_system_page_size() in allocator.c

Fri, 05 Dec 2025 16:22:57 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 05 Dec 2025 16:22:57 +0100
changeset 1540
411cf6fd268f
parent 1539
2cbdb482d325
child 1541
d06aa9db0408

fix name of cx_system_page_size() in allocator.c

relates to #763

src/allocator.c file | annotate | diff | comparison | revisions
--- a/src/allocator.c	Fri Dec 05 16:11:39 2025 +0100
+++ b/src/allocator.c	Fri Dec 05 16:22:57 2025 +0100
@@ -34,7 +34,7 @@
 #ifdef _WIN32
 #include <Windows.h>
 #include <sysinfoapi.h>
-unsigned long system_page_size(void) {
+unsigned long cx_system_page_size(void) {
     static unsigned long ps = 0;
     if (ps == 0) {
         SYSTEM_INFO sysinfo;
@@ -45,7 +45,7 @@
 }
 #else
 #include <unistd.h>
-unsigned long system_page_size(void) {
+unsigned long cx_system_page_size(void) {
     static unsigned long ps = 0;
     if (ps == 0) {
         long sc = sysconf(_SC_PAGESIZE);

mercurial