mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
21 lines
319 B
C
21 lines
319 B
C
![]() |
#ifndef __WEB_SOCK_W32_H__
|
||
|
#define __WEB_SOCK_W32_H__
|
||
|
|
||
|
// Windows uses _DEBUG and NDEBUG
|
||
|
#ifdef _DEBUG
|
||
|
#undef DEBUG
|
||
|
#define DEBUG 1
|
||
|
#endif
|
||
|
|
||
|
#define bzero(b,len) (memset((b), '\0', (len)), (void) 0)
|
||
|
|
||
|
#define MSG_NOSIGNAL 0
|
||
|
#define SHUT_RDWR SD_BOTH
|
||
|
|
||
|
#define poll WSAPoll
|
||
|
|
||
|
#define LWS_NO_FORK
|
||
|
|
||
|
#define DATADIR "."
|
||
|
|
||
|
#endif
|