From b7fa92967161e301b0990dcb6c4c842fd4747ae7 Mon Sep 17 00:00:00 2001 From: Douglas Katzman Date: Wed, 5 Jul 2017 19:03:53 -0400 Subject: [PATCH] Only compile os_zero() for cheneygc --- src/runtime/os-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/os-common.c b/src/runtime/os-common.c index 2c1e80f1b..de50de24e 100644 --- a/src/runtime/os-common.c +++ b/src/runtime/os-common.c @@ -37,6 +37,7 @@ * instead. See hpux-os.c for some useful restrictions on actual * usage. */ +#ifdef LISP_FEATURE_CHENEYGC void os_zero(os_vm_address_t addr, os_vm_size_t length) { @@ -70,6 +71,7 @@ os_zero(os_vm_address_t addr, os_vm_size_t length) addr); } } +#endif os_vm_address_t os_allocate(os_vm_size_t len) -- 2.11.4.GIT