From bbc8dfb78c2a71f10b21548b58dfe5ac46cc3fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20=C3=85stholm?= Date: Tue, 21 Jan 2025 23:21:11 +0100 Subject: [PATCH] Revert "zig build: wcslcpy/wcslcat are available on Linux" This reverts commit b8ea316c7b351c33f16cc5deaa12f82889a8c5fc. Turns out these require you to link libc, which we don't want to force the user to do. --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index ef21e3fd41d3e..2457eb45e399a 100644 --- a/build.zig +++ b/build.zig @@ -93,8 +93,8 @@ pub fn build(b: *std.Build) void { .HAVE_MEMCMP = windows or linux or macos, .HAVE_WCSLEN = windows or linux or macos, .HAVE_WCSNLEN = windows or linux or macos, - .HAVE_WCSLCPY = linux or macos, - .HAVE_WCSLCAT = linux or macos, + .HAVE_WCSLCPY = macos, + .HAVE_WCSLCAT = macos, .HAVE_WCSSTR = windows or linux or macos, .HAVE_WCSCMP = windows or linux or macos, .HAVE_WCSNCMP = windows or linux or macos,