From: Brendan Hansen Date: Thu, 19 Oct 2023 14:38:37 +0000 (-0500) Subject: bugfix: TCP server does not require multi-threaded environment X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=02b72dbbb0db55c6eca986250ce51db23ead16cd;p=onyx.git bugfix: TCP server does not require multi-threaded environment --- diff --git a/core/net/tcp.onyx b/core/net/tcp.onyx index 7393ec61..967c8487 100644 --- a/core/net/tcp.onyx +++ b/core/net/tcp.onyx @@ -12,10 +12,6 @@ use core.os use core.iter use runtime -#if !runtime.Multi_Threading_Enabled { - #error "Expected multi-threading to be enabled for TCP server."; -} - // Should TCP_Connection be an abstraction of both the client and the server? // Or is there not enough shared between them to justify that? TCP_Connection :: struct {