From dc55a3ae40e821015b4fa7b6ac718e8fe9bd2d89 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Wed, 8 Jan 2014 18:10:15 +0000 Subject: [PATCH] Added #undef UNICODE in mongoose.c to force ANSI Win32 functions --- mongoose.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mongoose.c b/mongoose.c index dce08570a..10359084c 100644 --- a/mongoose.c +++ b/mongoose.c @@ -15,6 +15,7 @@ // Alternatively, you can license this library under a commercial // license, as set out in <http://cesanta.com/products.html>. +#undef UNICODE // Use ANSI WinAPI functions #undef _UNICODE // Use multibyte encoding on Windows #define _MBCS // Use multibyte encoding on Windows #define _INTEGRAL_MAX_BITS 64 // Enable _stati64() on Windows -- GitLab