Skip to content
Snippets Groups Projects
Commit 4ebedc2c authored by James Chen's avatar James Chen Committed by Andy Green
Browse files

windows use msvc baestd and ssize_t from there

parent 8ff88e9d
Branches
Tags
No related merge requests found
...@@ -35,6 +35,7 @@ extern "C" { ...@@ -35,6 +35,7 @@ extern "C" {
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#include <stddef.h> #include <stddef.h>
#include <BaseTsd.h>
#include "websock-w32.h" #include "websock-w32.h"
#include "gettimeofday.h" #include "gettimeofday.h"
...@@ -42,7 +43,12 @@ extern "C" { ...@@ -42,7 +43,12 @@ extern "C" {
#define strcasecmp stricmp #define strcasecmp stricmp
#define getdtablesize() 30000 #define getdtablesize() 30000
typedef int ssize_t; #ifndef __SSIZE_T
#define __SSIZE_T
typedef SSIZE_T ssize_t;
#endif // __SSIZE_T
#define LWS_VISIBLE #define LWS_VISIBLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment