changeset 6857:26d88ec9baf4

Win32: stdint.h used for MinGW GCC. There is no need to restrict stdint.h only to MinGW-w64 GCC, it is available with MinGW GCC as well.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 24 Dec 2016 18:01:14 +0300
parents 28a8497bf39c
children f39ceadf0441
files src/os/win32/ngx_win32_config.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -58,7 +58,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
-#ifdef __MINGW64_VERSION_MAJOR
+#ifdef __GNUC__
 #include <stdint.h>
 #endif
 #include <ctype.h>