[nginx] Win32: stdint.h used for MinGW GCC.
Maxim Dounin
mdounin at mdounin.ru
Sat Dec 24 16:25:43 UTC 2016
details: http://hg.nginx.org/nginx/rev/26d88ec9baf4
branches:
changeset: 6857:26d88ec9baf4
user: Maxim Dounin <mdounin at mdounin.ru>
date: Sat Dec 24 18:01:14 2016 +0300
description:
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.
diffstat:
src/os/win32/ngx_win32_config.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
--- 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>
More information about the nginx-devel
mailing list