]> git.meshlink.io Git - catta/blobdiff - src/internal.h
wrap lifetimes of CattaServer and CattaSimplePoll in WSAStartup/WSACleanup
[catta] / src / internal.h
index b74ce25d3418e2c2a86189554a20b161e07c79a2..789f3634a209e1e9601e267c3082a1b45e4175d7 100644 (file)
@@ -50,6 +50,8 @@ typedef struct CattaEntry CattaEntry;
 
 #ifndef _WIN32
 #define closesocket close
+#define winsock_init()
+#define winsock_exit()
 #endif
 
 typedef struct CattaLegacyUnicastReflectSlot CattaLegacyUnicastReflectSlot;