]> git.proxmox.com Git - wasi-libc.git/blobdiff - libc-bottom-half/cloudlibc/src/libc/sys/socket/shutdown.c
Remove __wasilibc_unmodified_upstream markers from libc-bottom-half.
[wasi-libc.git] / libc-bottom-half / cloudlibc / src / libc / sys / socket / shutdown.c
index 560f53c30a33b3d84bd37d8029de3601d3aed8bc..883b551ae832bf9f21ccf9794ce3ebe299cb38ac 100644 (file)
 #include <wasi/api.h>
 #include <errno.h>
 
-#ifdef __wasilibc_unmodified_upstream // generated constant names
-static_assert(SHUT_RD == __WASI_SHUT_RD, "Value mismatch");
-static_assert(SHUT_WR == __WASI_SHUT_WR, "Value mismatch");
-#else
 static_assert(SHUT_RD == __WASI_SDFLAGS_RD, "Value mismatch");
 static_assert(SHUT_WR == __WASI_SDFLAGS_WR, "Value mismatch");
-#endif
 
 int shutdown(int socket, int how) {
   // Validate shutdown flags.