diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-12-24 18:01:14 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-12-24 18:01:14 +0300 |
commit | 25fb9595bba78a4b287da7db1df5025302e3c025 (patch) | |
tree | f7d864446f8e2a497edb41e8912b4332598f7fdd /src/os | |
parent | a4c7e7b1dba97f130df5053d77fa64e8ae88e1b1 (diff) |
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.
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/win32/ngx_win32_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |