mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(build): musl libc build.zig
This commit is contained in:
@ -182,7 +182,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.HAVE_FSEEKO = modernUnix,
|
||||
.HAVE_LANGINFO_H = modernUnix,
|
||||
.HAVE_NL_LANGINFO_CODESET = modernUnix,
|
||||
.HAVE_NL_MSG_CAT_CNTR = isLinux,
|
||||
.HAVE_NL_MSG_CAT_CNTR = t.isGnuLibC(),
|
||||
.HAVE_PWD_FUNCS = modernUnix,
|
||||
.HAVE_READLINK = modernUnix,
|
||||
.HAVE_STRNLEN = modernUnix,
|
||||
@ -195,7 +195,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.HAVE_SYS_UTSNAME_H = modernUnix,
|
||||
.HAVE_SYS_WAIT_H = false, // unused
|
||||
.HAVE_TERMIOS_H = modernUnix,
|
||||
.HAVE_WORKING_LIBINTL = isLinux,
|
||||
.HAVE_WORKING_LIBINTL = t.isGnuLibC(),
|
||||
.UNIX = modernUnix,
|
||||
.CASE_INSENSITIVE_FILENAME = tag.isDarwin() or tag == .windows,
|
||||
.HAVE_SYS_UIO_H = modernUnix,
|
||||
@ -205,7 +205,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.HAVE_BE64TOH = modernUnix and !tag.isDarwin(),
|
||||
.ORDER_BIG_ENDIAN = t.cpu.arch.endian() == .big,
|
||||
.ENDIAN_INCLUDE_FILE = "endian.h",
|
||||
.HAVE_EXECINFO_BACKTRACE = modernUnix,
|
||||
.HAVE_EXECINFO_BACKTRACE = modernUnix and !t.isMuslLibC(),
|
||||
.HAVE_BUILTIN_ADD_OVERFLOW = true,
|
||||
.HAVE_WIMPLICIT_FALLTHROUGH_FLAG = true,
|
||||
.HAVE_BITSCANFORWARD64 = null,
|
||||
|
Reference in New Issue
Block a user