summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-05-24 12:43:03 -0500
committerunknown <reggie@big_geek.>2006-05-24 12:43:03 -0500
commitc38308dee2caf5eccea688ea907a3fe68bec7d17 (patch)
treeaf9751119a8093c02864b8e095e7ab41cf95e1cd /include/config-win.h
parentca4340e68be3f33890093b4498b708ca4314d526 (diff)
downloadmariadb-git-c38308dee2caf5eccea688ea907a3fe68bec7d17.tar.gz
some small fixups
include/config-win.h: force time_t to be 32 bit on Visual C++ 2005 or later sql/net_serv.cc: include winsock after my_global so the time_t #define can take effect storage/csv/ha_tina.cc: fix the csv engine so that it supports DOS, Unix, and Mac line endings
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index d540465c2f9..aa372762191 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -25,6 +25,7 @@ functions */
#if defined(_MSC_VER) && _MSC_VER >= 1400
/* Avoid endless warnings about sprintf() etc. being unsafe. */
#define _CRT_SECURE_NO_DEPRECATE 1
+#define _USE_32BIT_TIME_T 1 /* force time_t to be 32 bit */
#endif
#include <sys/locking.h>