Skip to content

Commit 22586e9

Browse files
OrangeTidejayschwa
andauthored
Update build.zig
Co-authored-by: Jay Petacat <[email protected]>
1 parent e5d1d44 commit 22586e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,8 +1094,8 @@ fn configHeader(b: *std.Build, t: std.Target) *std.Build.Step.ConfigHeader {
10941094
.HAVE_WCSNCASECMP = 1,
10951095
.HAVE__WCSNICMP = 0,
10961096
.HAVE_STRLEN = 1,
1097-
.HAVE_STRLCPY = !is_linux,
1098-
.HAVE_STRLCAT = !is_linux,
1097+
.HAVE_STRLCPY = !is_linux or is_musl,
1098+
.HAVE_STRLCAT = !is_linux or is_musl,
10991099
.HAVE__STRREV = 0,
11001100
.HAVE__STRUPR = 0,
11011101
.HAVE__STRLWR = 0,

0 commit comments

Comments
 (0)