comparison src/os/win32/ngx_win32_config.h @ 6856:28a8497bf39c

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 24 Dec 2016 18:01:14 +0300
parents 2a621245f4cf
children 26d88ec9baf4
comparison
equal deleted inserted replaced
6855:c2c13f1f47fd 6856:28a8497bf39c
49 49
50 #elif defined __GNUC__ 50 #elif defined __GNUC__
51 51
52 /* GCC MinGW's stdio.h includes sys/types.h */ 52 /* GCC MinGW's stdio.h includes sys/types.h */
53 #define _OFF_T_ 53 #define _OFF_T_
54 #define __have_typedef_off_t
54 55
55 #endif 56 #endif
56 57
57 #include <stdio.h> 58 #include <stdio.h>
58 #include <stdlib.h> 59 #include <stdlib.h>