From 9079297c4ae3e1c1f616f7c7bb7c7d17a055ac46 Mon Sep 17 00:00:00 2001 From: adustman Date: Wed, 30 Aug 2006 03:01:17 +0000 Subject: [PATCH] Windows MySQL has a different configuration file (config-win.h) for inexplicable reasons. (Bug 1548032) --- MySQLdb/_mysql.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MySQLdb/_mysql.c b/MySQLdb/_mysql.c index 11e5916..5ea0d3e 100644 --- a/MySQLdb/_mysql.c +++ b/MySQLdb/_mysql.c @@ -27,17 +27,17 @@ PERFORMANCE OF THIS SOFTWARE. */ #include "pymemcompat.h" - -#ifdef MS_WIN32 +#include "structmember.h" +#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32) || defined(MS_WIN32) #include -#endif /* MS_WIN32 */ +#include +#else +#include "my_config.h" +#endif #ifndef uint #define uint unsigned int #endif - -#include "structmember.h" #include "mysql.h" -#include "my_config.h" #include "mysqld_error.h" #include "errmsg.h"