diff options
Diffstat (limited to 'plugins/common.h')
-rw-r--r-- | plugins/common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h index 01003b3b..6bf4fca4 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -161,12 +161,24 @@ | |||
161 | # endif | 161 | # endif |
162 | #endif | 162 | #endif |
163 | 163 | ||
164 | /* openssl 1.1 does not set OPENSSL_NO_SSL2 by default but ships without ssl2 */ | ||
165 | #ifdef OPENSSL_VERSION_NUMBER | ||
166 | # if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
167 | # define OPENSSL_NO_SSL2 | ||
168 | # endif | ||
169 | #endif | ||
170 | |||
164 | /* | 171 | /* |
165 | * | 172 | * |
166 | * Standard Values | 173 | * Standard Values |
167 | * | 174 | * |
168 | */ | 175 | */ |
169 | 176 | ||
177 | /* MariaDB 10.2 client does not set MYSQL_PORT */ | ||
178 | #ifndef MYSQL_PORT | ||
179 | # define MYSQL_PORT 3306 | ||
180 | #endif | ||
181 | |||
170 | enum { | 182 | enum { |
171 | OK = 0, | 183 | OK = 0, |
172 | ERROR = -1 | 184 | ERROR = -1 |