From e9a7a2af1800955c808749bf9ed93e30ebd96ea2 Mon Sep 17 00:00:00 2001 From: Alexander Alashkin Date: Fri, 17 Mar 2017 13:26:24 +0200 Subject: [PATCH] Fix WinCE compilation PUBLISHED_FROM=51d68829414739b04fafc9198d86b817c38d71d2 --- mongoose.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mongoose.h b/mongoose.h index 5109171d..6fdf3bb1 100644 --- a/mongoose.h +++ b/mongoose.h @@ -1235,6 +1235,10 @@ int sl_set_ssl_opts(struct mg_connection *nc); #define EWOULDBLOCK WSAEWOULDBLOCK #endif +#ifndef EAGAIN +#define EAGAIN EWOULDBLOCK +#endif + #ifndef __func__ #define STRX(x) #x #define STR(x) STRX(x)