1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

MinGW: include _mingw.h, to access mingw version defines

This commit is contained in:
bel
2015-09-07 19:25:31 +02:00
parent ad746c8365
commit 22a38b7c39

View File

@@ -732,6 +732,13 @@ static int run_lua(const char *file_name)
} }
#endif #endif
#if defined(__MINGW32__) || defined(__MINGW64__)
/* For __MINGW32/64_MAJOR/MINOR_VERSION define */
#include <_mingw.h>
#endif
static void start_civetweb(int argc, char *argv[]) static void start_civetweb(int argc, char *argv[])
{ {
struct mg_callbacks callbacks; struct mg_callbacks callbacks;