From 25fb9595bba78a4b287da7db1df5025302e3c025 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Sat, 24 Dec 2016 18:01:14 +0300 Subject: 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. --- src/os/win32/ngx_win32_config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit