diff --git a/lib/std/net/os/posix.c3 b/lib/std/net/os/posix.c3 index f9b52eaff..a9925d1f3 100644 --- a/lib/std/net/os/posix.c3 +++ b/lib/std/net/os/posix.c3 @@ -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; diff --git a/src/utils/lib.h b/src/utils/lib.h index 9e438bb2c..0a645c245 100644 --- a/src/utils/lib.h +++ b/src/utils/lib.h @@ -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; } diff --git a/src/version.h b/src/version.h index 1e10a945f..0a50c1009 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define COMPILER_VERSION "0.4.509" \ No newline at end of file +#define COMPILER_VERSION "0.4.510" \ No newline at end of file