Fix to net::os::posix. Remove "\s"

This commit is contained in:
Christoffer Lerno
2023-05-12 16:55:15 +02:00
parent 021bcdcf21
commit 8eddbfb708
3 changed files with 2 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
module std::net::os;
import libc;
$if env::os_is_win32() && $defined(AddrInfo):
$if !env::os_is_win32() && $defined(AddrInfo):
const int F_GETFL = 3;
const int F_SETFL = 4;

View File

@@ -500,8 +500,6 @@ static inline signed char char_is_valid_escape(char c)
return '\\';
case '0':
return '\0';
case 's':
return ' ';
default:
return -1;
}

View File

@@ -1 +1 @@
#define COMPILER_VERSION "0.4.509"
#define COMPILER_VERSION "0.4.510"