# HG changeset patch # User Maxim Dounin # Date 1482591674 -10800 # Node ID 28a8497bf39c106314ec473fef4248bf6fe082b0 # Parent c2c13f1f47fd7dd5a608d075d2346d8051b59ef9 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 --- 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