From 8250ceced6aab95347e00e2ff1c02730da0be4fe Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Thu, 24 Mar 2011 12:30:03 +0100 Subject: Fix compilation on Windows: - Fixes for type-conversion (time_t is not interchangeable with my_time_t on Windows as time_t s 64 bit while my_time_t is long) - BIGENDIAN-> ARCH_BIGENDIAN . BIGENDIAN constant is defined in winsock2.h (as 0) - added explicit cast for longlong->double conversion in sql/item.h (fixed many warnings) Also, HAVE_SNPRINTF is now defined and snprintf is defined to _snprintf in config-win.h --- mysys/mf_getdate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys/mf_getdate.c') diff --git a/mysys/mf_getdate.c b/mysys/mf_getdate.c index 9475bebd107..af86322a856 100644 --- a/mysys/mf_getdate.c +++ b/mysys/mf_getdate.c @@ -17,7 +17,7 @@ #include "mysys_priv.h" #include - +#include /* get date as string -- cgit v1.2.1