From 7d57743ff4e3d3faec477198c2b594df40dad226 Mon Sep 17 00:00:00 2001 From: kylev Date: Tue, 24 Feb 2009 02:48:29 +0000 Subject: [PATCH] Fix bug 1808476 for OSX compilation, ported from trunk. --- MySQLdb/_mysql.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MySQLdb/_mysql.c b/MySQLdb/_mysql.c index 90f50bb..6fcc141 100644 --- a/MySQLdb/_mysql.c +++ b/MySQLdb/_mysql.c @@ -34,9 +34,6 @@ PERFORMANCE OF THIS SOFTWARE. #else #include "my_config.h" #endif -#ifndef uint -#define uint unsigned int -#endif #include "mysql.h" #include "mysqld_error.h" #include "errmsg.h" @@ -483,8 +480,8 @@ _mysql_ConnectionObject_Initialize( #endif char *host = NULL, *user = NULL, *passwd = NULL, *db = NULL, *unix_socket = NULL; - uint port = MYSQL_PORT; - uint client_flag = 0; + unsigned int port = MYSQL_PORT; + unsigned int client_flag = 0; static char *kwlist[] = { "host", "user", "passwd", "db", "port", "unix_socket", "conv", "connect_timeout", "compress",