From cd73a733c78b7ab7b4e3ccaca9350bbcce124142 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Nov 2004 09:26:09 +0000 Subject: dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used --- lib/setup.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/setup.h') diff --git a/lib/setup.h b/lib/setup.h index e535279c8..2969b936a 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -287,6 +287,11 @@ typedef int curl_socket_t; #define USE_LIBIDN #endif +#ifndef SIZEOF_TIME_T +/* assume default size of time_t to be 32 bit */ +#define SIZEOF_TIME_T 4 +#endif + #define LIBIDN_REQUIRED_VERSION "0.4.1" #endif /* __CONFIG_H */ -- cgit v1.2.3