Skip to content

Commit

Permalink
Revert "zig build: wcslcpy/wcslcat are available on Linux"
Browse files Browse the repository at this point in the history
This reverts commit b8ea316.

Turns out these require you to link libc, which we don't want to force
the user to do.
  • Loading branch information
castholm committed Jan 21, 2025
1 parent 9089900 commit bbc8dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bbc8dfb

Please sign in to comment.