src/allocator.c

changeset 1540
411cf6fd268f
parent 1539
2cbdb482d325
child 1541
d06aa9db0408
--- 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