mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-17 05:02:29 +00:00
chore(net): restructure system-specific socket code
This commit is contained in:
parent
da23578002
commit
b537c34990
3 changed files with 21 additions and 9 deletions
|
|
@ -1,5 +1,3 @@
|
|||
#if defined(WHOA_SYSTEM_MAC) || defined(WHOA_SYSTEM_LINUX)
|
||||
|
||||
#include "net/connection/WowConnectionNet.hpp"
|
||||
#include "net/connection/WowConnection.hpp"
|
||||
#include <algorithm>
|
||||
|
|
@ -187,5 +185,3 @@ void WowConnectionNet::PlatformWorkerReady() {
|
|||
char buf = '\1';
|
||||
write(s_workerPipe[1], &buf, sizeof(buf));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
#if defined(WHOA_SYSTEM_WIN)
|
||||
|
||||
#include "net/connection/WowConnectionNet.hpp"
|
||||
|
||||
void WowConnectionNet::PlatformAdd(WowConnection* connection) {
|
||||
|
|
@ -25,5 +23,3 @@ void WowConnectionNet::PlatformRun() {
|
|||
void WowConnectionNet::PlatformWorkerReady() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue