Skip to content

Commit 72c80ae

Browse files
committed
misc: Fixes for Windows cross build
1 parent 1a4ce32 commit 72c80ae

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.DS_Store

0 Bytes
Binary file not shown.

src/support/httplib.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,10 @@ using socket_t = SOCKET;
178178
#include <unistd.h>
179179

180180
using socket_t = int;
181-
#ifndef HTTP_INVALID_SOCKET
182-
#define HTTP_INVALID_SOCKET (-1)
183-
#endif
184181
#endif //_WIN32
185182

183+
#define HTTP_INVALID_SOCKET (-1)
184+
186185
#include <algorithm>
187186
#include <array>
188187
#include <atomic>

0 commit comments

Comments
 (0)