mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Replace COSMO define with _COSMO_SOURCE
This change might cause ABI breakages for /opt/cosmos. It's needed to help us better conform to header declaration practices.
This commit is contained in:
parent
a033b65a33
commit
c776a32f75
238 changed files with 858 additions and 1069 deletions
|
@ -166,7 +166,7 @@ TEST(unix, serverGoesDown_usingSendTo_unlink) { // much easier
|
|||
ASSERT_SYS(0, 5, sendto(4, "hello", 5, 0, (void *)&addr, len));
|
||||
ASSERT_SYS(0, 5, read(3, buf, 8));
|
||||
ASSERT_SYS(0, 0, close(3));
|
||||
ASSERT_SYS(IsWsl1() ? ENOTCONN : ECONNREFUSED, -1,
|
||||
ASSERT_SYS(__iswsl1() ? ENOTCONN : ECONNREFUSED, -1,
|
||||
sendto(4, "hello", 5, 0, (void *)&addr, len));
|
||||
ASSERT_SYS(0, 0, unlink(addr.sun_path));
|
||||
ASSERT_SYS(ENOENT, -1, sendto(4, "hello", 5, 0, (void *)&addr, len));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue