mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2026-03-13 08:00:02 +08:00
Windows MySQL has a different configuration file (config-win.h)
for inexplicable reasons. (Bug 1548032)
This commit is contained in:
@@ -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 <windows.h>
|
||||
#endif /* MS_WIN32 */
|
||||
#include <config-win.h>
|
||||
#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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user