]> git.kaiwu.me - nginx.git/commitdiff
Win32: fixed building with newer versions of MinGW GCC.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 24 Dec 2016 15:01:14 +0000 (18:01 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 24 Dec 2016 15:01:14 +0000 (18:01 +0300)
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

index f5b5950bb20b255beffc1f4e21c3dc673fe745f1..7f73e07a56205cf11d759da042bf52a0773ac2b9 100644 (file)
@@ -51,6 +51,7 @@
 
 /* GCC MinGW's stdio.h includes sys/types.h */
 #define _OFF_T_
+#define __have_typedef_off_t
 
 #endif