mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Fix compilation on Windows CE after cleanup
This commit is contained in:
parent
1077e1f4d2
commit
6bb4b62ede
1 changed files with 4 additions and 6 deletions
|
@ -25,12 +25,6 @@
|
|||
#else
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#define inline __inline
|
||||
#include <tchar.h>
|
||||
#include <mstcpip.h>
|
||||
#ifdef _WIN32_WCE
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
#else /* not WIN32 */
|
||||
#include "config.h"
|
||||
|
||||
|
@ -92,6 +86,10 @@
|
|||
#define __func__ __FUNCTION__
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif
|
||||
|
||||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#else /* not windows --> */
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue