Skip to content

Commit

Permalink
test something
Browse files Browse the repository at this point in the history
  • Loading branch information
Khitiara committed Jun 28, 2024
1 parent aa9e1ae commit e27b694
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
33 changes: 17 additions & 16 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ pub fn build(b: *std.Build) void {
.HAVE_DECL_STRICMP = 0,
.HAVE_DECL_STRLCPY = 0,
.HAVE_DECL_STRNCASECMP = 0,
.HAVE_DECL_STRNICMP = @as(u32, if(target.result.os.tag == .windows) 1 else 0),
.HAVE_DECL_STRNLEN = @as(u32, if(target.result.os.tag == .windows) 1 else 0),
.HAVE_DECL_STRNICMP = @as(u32, if (target.result.os.tag == .windows) 1 else 0),
.HAVE_DECL_STRNLEN = @as(u32, if (target.result.os.tag == .windows) 1 else 0),
.HAVE_DECL_STRRCHRNUL = 0,
.HAVE_DECL_STRSEP = 0,
.HAVE_ENDIAN_H = have(target.result.os.tag != .windows),
.HAVE_FACCESSAT = 1,
.HAVE_FACCESSAT = have(target.result.os.tag != .windows),
.HAVE_FCNTL_H = 1,
.HAVE_FILENO = 1,
.HAVE_FSEEKO = 1,
.HAVE_FSTAT = 1,
.HAVE_FTRUNCATE = 1,
.HAVE_FSEEKO = have(target.result.os.tag != .windows),
.HAVE_FSTAT = have(target.result.os.tag != .windows),
.HAVE_FTRUNCATE = have(target.result.os.tag != .windows),
.HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE = 1,
.HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE = null,
.HAVE_FUNC_ATTRIBUTE3_FORMAT = 1,
Expand Down Expand Up @@ -133,27 +133,27 @@ pub fn build(b: *std.Build) void {
.HAVE_INTRIN_H = 1,
.HAVE_INTTYPES_H = 1,
.HAVE_IO_H = have(target.result.os.tag == .windows),
.HAVE_ISASCII = 1,
.HAVE_ISCNTRL = 1,
.HAVE_ISASCII = have(target.result.os.tag != .windows),
.HAVE_ISCNTRL = have(target.result.os.tag != .windows),
.HAVE_MACHINE_ENDIAN_H = have(target.result.os.tag != .windows),
.HAVE_MEMPCPY = 1,
.HAVE_MEMPCPY = have(target.result.os.tag != .windows),
.HAVE_MEMPSET = null,
.HAVE_MINIX_CONFIG_H = null,
.HAVE_MMAP = have(target.result.os.tag != .windows),
.HAVE_PATHCONF = null,
.HAVE_REALPATH = have(target.result.os.tag != .windows),
.HAVE_SNPRINTF = 1,
.HAVE_STAT = 1,
.HAVE_STDARG_H = 1,
.HAVE_STAT = have(target.result.os.tag != .windows),
.HAVE_STDARG_H = have(target.result.os.tag != .windows),
.HAVE_STDBOOL_H = 1,
.HAVE_STDC_INLINE = 1,
.HAVE_STDINT_H = 1,
.HAVE_STDIO_H = 1,
.HAVE_STDC_INLINE = have(target.result.os.tag != .windows),
.HAVE_STDINT_H = have(target.result.os.tag != .windows),
.HAVE_STDIO_H = have(target.result.os.tag != .windows),
.HAVE_STDLIB_H = 1,
.HAVE_STDNORETURN_H = 1,
.HAVE_STDNORETURN_H = have(target.result.os.tag != .windows),
.HAVE_STRCASECMP = have(target.result.os.tag != .windows),
.HAVE_STRICMP = have(target.result.os.tag != .windows),
.HAVE_STRINGS_H = 1,
.HAVE_STRINGS_H = have(target.result.os.tag != .windows),
.HAVE_STRING_H = 1,
.HAVE_STRLCPY = null,
.HAVE_STRNCASECMP = have(target.result.os.tag != .windows),
Expand Down Expand Up @@ -190,6 +190,7 @@ pub fn build(b: *std.Build) void {
.HAVE__FSTATI64 = have(target.result.os.tag == .windows),
.HAVE__FULLPATH = have(target.result.os.tag == .windows),
.HAVE__STATI64 = have(target.result.os.tag == .windows),
.HAVE__FILELENGTHI64 = have(target.result.os.tag == .windows),
.HAVE___BSWAP_16 = 1,
.HAVE___BSWAP_32 = 1,
.HAVE___BSWAP_64 = 1,
Expand Down
3 changes: 3 additions & 0 deletions config/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@
/* Define to 1 if you have the `_fullpath' function. */
#undef HAVE__FULLPATH

/* Define to 1 if you have the `_filelengthi64' function. */
#undef HAVE__FILELENGTHI64 1

/* Define to 1 if you have the `_stati64' function. */
#undef HAVE__STATI64

Expand Down

0 comments on commit e27b694

Please sign in to comment.