Fixed windows build

This commit is contained in:
2022-09-26 04:44:09 +08:00
parent 3229a54bd4
commit 2ed0fd7863
9 changed files with 42 additions and 21 deletions
+1 -1
View File
@@ -435,7 +435,7 @@ gmtime_r(const time_t *__restrict__ timep, struct tm *__restrict__ result)
#define HAVE_SOCKLEN_T 1
#ifndef _MSC_VER
#define SOCKET int
// #define SOCKET int
#define closesocket close
#endif