From 87eb498d8918393dd91a853196eb57a3c827a1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Fri, 20 Nov 2020 06:54:31 +0000 Subject: [PATCH] openbsd: malloc_usable_size is unavailable on OpenBSD --- lib/std/c/openbsd.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/c/openbsd.zig b/lib/std/c/openbsd.zig index 48feaff42..5525aa18e 100644 --- a/lib/std/c/openbsd.zig +++ b/lib/std/c/openbsd.zig @@ -34,4 +34,4 @@ pub const pthread_attr_t = extern struct { }; pub extern "c" fn posix_memalign(memptr: *?*c_void, alignment: usize, size: usize) c_int; -pub extern "c" fn malloc_usable_size(?*const c_void) usize; +