Skip to content

Commit c26d17c

Browse files
author
GELLEZ
committed
Define INVALID_SOCKET for Linux
1 parent 672b987 commit c26d17c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/HttpClient.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <unistd.h> /* close */
1919
#include <netdb.h> /* gethostbyname */
2020
#define SOCKET_ERROR -1
21+
#define INVALID_SOCKET -1
2122
#ifndef closesocket
2223
#define closesocket(s) close(s)
2324
#endif

0 commit comments

Comments
 (0)