Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/generated_struct_info32.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@
"F_DUPFD": 0,
"F_GETFD": 1,
"F_GETFL": 3,
"F_GETLK": 5,
"F_GETLK": 12,
"F_GETOWN": 9,
"F_GETOWN_EX": 16,
"F_SETFD": 2,
"F_SETFL": 4,
"F_SETLK": 6,
"F_SETLKW": 7,
"F_SETLK": 13,
"F_SETLKW": 14,
"F_SETOWN": 8,
"F_UNLCK": 2,
"File::DataFileKind": 1,
Expand Down
2 changes: 1 addition & 1 deletion src/generated_struct_info64.json
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@
"iov_len": 8
},
"msghdr": {
"__size__": 48,
"__size__": 56,
"msg_iov": 16,
"msg_iovlen": 24,
"msg_name": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ struct __sanitizer_file_handle {
};
#endif

// These fields are not actually pointers, and so wasm64 must use unsigned and not uptr for them
#if SANITIZER_APPLE || SANITIZER_EMSCRIPTEN
#if SANITIZER_APPLE
struct __sanitizer_msghdr {
void *msg_name;
unsigned msg_namelen;
Expand Down
2 changes: 1 addition & 1 deletion system/lib/libc/musl/arch/emscripten/bits/alltypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#define __BYTE_ORDER __LITTLE_ENDIAN

#define LONG_MAX __LONG_MAX__
#define __LONG_MAX __LONG_MAX__

#define _Addr __PTRDIFF_TYPE__
#define _Int64 __INT64_TYPE__
Expand Down