Skip to content

Commit

Permalink
Fix MSG_TRUNC
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Feb 1, 2023
1 parent 8f52757 commit fb75489
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion expected/wasm32-wasi-threads/predefined-macros.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@
#define MSG_BAND 0x04
#define MSG_HIPRI 0x01
#define MSG_PEEK __WASI_RIFLAGS_RECV_PEEK
#define MSG_TRUNC __WASI_RIFLAGS_RECV_DATA_TRUNCATED
#define MSG_TRUNC __WASI_ROFLAGS_RECV_DATA_TRUNCATED
#define MSG_WAITALL __WASI_RIFLAGS_RECV_WAITALL
#define MUXID_ALL (-1)
#define M_1_PI 0.31830988618379067154
Expand Down
2 changes: 1 addition & 1 deletion expected/wasm32-wasi/predefined-macros.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@
#define MSG_BAND 0x04
#define MSG_HIPRI 0x01
#define MSG_PEEK __WASI_RIFLAGS_RECV_PEEK
#define MSG_TRUNC __WASI_RIFLAGS_RECV_DATA_TRUNCATED
#define MSG_TRUNC __WASI_ROFLAGS_RECV_DATA_TRUNCATED
#define MSG_WAITALL __WASI_RIFLAGS_RECV_WAITALL
#define MUXID_ALL (-1)
#define M_1_PI 0.31830988618379067154
Expand Down
2 changes: 1 addition & 1 deletion libc-bottom-half/headers/public/__header_sys_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#define MSG_PEEK __WASI_RIFLAGS_RECV_PEEK
#define MSG_WAITALL __WASI_RIFLAGS_RECV_WAITALL
#define MSG_TRUNC __WASI_RIFLAGS_RECV_DATA_TRUNCATED
#define MSG_TRUNC __WASI_ROFLAGS_RECV_DATA_TRUNCATED

#define SOCK_DGRAM __WASI_FILETYPE_SOCKET_DGRAM
#define SOCK_STREAM __WASI_FILETYPE_SOCKET_STREAM
Expand Down

0 comments on commit fb75489

Please sign in to comment.