summaryrefslogtreecommitdiffstats
path: root/databases/py-MySQLdb/files/patch-_mysql.c
blob: 2f28da8facf437ab612fe9a23b85572e1dbceadb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- _mysql.c.orig	2014-03-18 19:07:07.000000000 +0400
+++ _mysql.c	2014-03-18 19:07:40.000000000 +0400
@@ -102,6 +102,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)
 {
OpenPOWER on IntegriCloud