Browse Source

Fix lws MinGW compilation

Cherry picked 5b22276420032677841af9e9f3b0272d0dd467b8 from upstream.
This is fixed upstream and will be included in the next release
Fabio Alessandrelli 7 years ago
parent
commit
dbf7898cea
1 changed files with 1 additions and 5 deletions
  1. 1 5
      thirdparty/lws/ssl.c

+ 1 - 5
thirdparty/lws/ssl.c

@@ -20,11 +20,7 @@
  */
 
 #include "private-libwebsockets.h"
-
-/* workaround for mingw */
-#if !defined(ECONNABORTED)
-#define ECONNABORTED 103
-#endif
+#include <errno.h>
 
 int lws_alloc_vfs_file(struct lws_context *context, const char *filename, uint8_t **buf,
 		lws_filepos_t *amount)