From cb8cbe0033c201c191f68bc99afba794fb329a3d Mon Sep 17 00:00:00 2001 From: "msvensson@pilot.blaudden" <> Date: Fri, 23 Feb 2007 17:59:07 +0100 Subject: [PATCH] Bug#26536 func_time failure on vm-win2003-64-b, occurs every time - Fixes for 5.1 - Always use long for my_time_t --- include/my_time.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/my_time.h b/include/my_time.h index 88abe02ac08..d96c5822069 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -38,13 +38,7 @@ extern uchar days_in_month[]; For example QNX has an unsigned time_t type */ -#if defined(_WIN64) || defined(WIN64) -/* on Win64 long is still 4 bytes (not 8!) */ -typedef LONG64 my_time_t; -#else -typedef time_t my_time_t; - -#endif +typedef long my_time_t; #define MY_TIME_T_MAX LONG_MAX #define MY_TIME_T_MIN LONG_MIN