diff --git a/MySQLdb/_mysql.c b/MySQLdb/_mysql.c index 2c2d453..562dd88 100644 --- a/MySQLdb/_mysql.c +++ b/MySQLdb/_mysql.c @@ -100,6 +100,10 @@ static int _mysql_server_init_done = 0; #define check_server_init(x) if (!_mysql_server_init_done) _mysql_server_init_done = 1 #endif +#if MYSQL_VERSION_ID >= 50500 +#define HAVE_OPENSSL 1 +#endif + PyObject * _mysql_Exception(_mysql_ConnectionObject *c) {