From 83679b47685041d201b7ad107c11809b41445e96 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Wed, 8 Apr 2015 06:43:12 +0000 Subject: [PATCH] nginx: add preconfigured time_t value for x-compile. --- srcpkgs/nginx/files/ngx_auto_config.h.armv6l | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/nginx/files/ngx_auto_config.h.armv6l b/srcpkgs/nginx/files/ngx_auto_config.h.armv6l index a36cd5663f2..8cb33ee4c12 100644 --- a/srcpkgs/nginx/files/ngx_auto_config.h.armv6l +++ b/srcpkgs/nginx/files/ngx_auto_config.h.armv6l @@ -187,6 +187,10 @@ #define NGX_TIME_T_LEN (sizeof("-2147483648") - 1) #endif +#ifndef NGX_MAX_TIME_T_VALUE +#define NGX_MAX_TIME_T_VALUE 2147483647L +#endif + #ifndef NGX_HAVE_INET6 #define NGX_HAVE_INET6 1