1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00

windows: mingw file type is int

This commit is contained in:
Andy Green 2021-11-07 07:19:21 +00:00
parent cab34801ea
commit b45dfcb81e
2 changed files with 2 additions and 2 deletions

View file

@ -383,7 +383,7 @@ struct lws;
#if defined(_WIN32)
#if !defined(LWS_WIN32_HANDLE_TYPES)
typedef SOCKET lws_sockfd_type;
typedef HANDLE lws_filefd_type;
typedef int lws_filefd_type;
#endif

View file

@ -155,7 +155,7 @@ struct lws_fd_hashtable {
#endif
typedef SOCKET lws_sockfd_type;
typedef HANDLE lws_filefd_type;
typedef int lws_filefd_type;
#define LWS_WIN32_HANDLE_TYPES
LWS_EXTERN struct lws *