mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-28 23:41:03 +00:00
Build and test MinGW in CI
This commit is contained in:
@@ -17,7 +17,7 @@ target_link_libraries(emulator-common PUBLIC
|
||||
zlibstatic
|
||||
)
|
||||
|
||||
if(MINGW)
|
||||
if(WIN)
|
||||
target_link_libraries(emulator-common PUBLIC
|
||||
ws2_32
|
||||
)
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
using socklen_t = int;
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
#endif
|
||||
|
||||
namespace network
|
||||
|
||||
Reference in New Issue
Block a user