From: Maxim Dounin Date: Sat, 24 Dec 2016 15:01:14 +0000 (+0300) Subject: Win32: fixed building with newer versions of MinGW GCC. X-Git-Tag: release-1.11.8~8 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=25fb9595bba78a4b287da7db1df5025302e3c025;p=nginx.git Win32: fixed building with newer versions of MinGW GCC. Macro to indicate that off_t was defined has been changed, so we now additionally define the new one. --- diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index f5b5950bb..7f73e07a5 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -51,6 +51,7 @@ /* GCC MinGW's stdio.h includes sys/types.h */ #define _OFF_T_ +#define __have_typedef_off_t #endif