Skip to content

Commit bbc8dfb

Browse files
committed
Revert "zig build: wcslcpy/wcslcat are available on Linux"
This reverts commit b8ea316. Turns out these require you to link libc, which we don't want to force the user to do.
1 parent 9089900 commit bbc8dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: build.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ pub fn build(b: *std.Build) void {
9393
.HAVE_MEMCMP = windows or linux or macos,
9494
.HAVE_WCSLEN = windows or linux or macos,
9595
.HAVE_WCSNLEN = windows or linux or macos,
96-
.HAVE_WCSLCPY = linux or macos,
97-
.HAVE_WCSLCAT = linux or macos,
96+
.HAVE_WCSLCPY = macos,
97+
.HAVE_WCSLCAT = macos,
9898
.HAVE_WCSSTR = windows or linux or macos,
9999
.HAVE_WCSCMP = windows or linux or macos,
100100
.HAVE_WCSNCMP = windows or linux or macos,

0 commit comments

Comments
 (0)