[Commits] Rev 3023: Fix non-ssl build. in http://bazaar.launchpad.net/~maria-captains/maria/5.2

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Sun Jan 8 11:13:39 EET 2012


At http://bazaar.launchpad.net/~maria-captains/maria/5.2

------------------------------------------------------------
revno: 3023
revision-id: knielsen at knielsen-hq.org-20120108091339-suejqxlqz8qfuh3g
parent: knielsen at knielsen-hq.org-20120107222008-joypskvo4706ebsc
committer: knielsen at knielsen-hq.org
branch nick: work-5.2-asynclib2
timestamp: Sun 2012-01-08 10:13:39 +0100
message:
  Fix non-ssl build.
=== modified file 'include/mysql_async.h'
--- a/include/mysql_async.h	2012-01-06 11:43:18 +0000
+++ b/include/mysql_async.h	2012-01-08 09:13:39 +0000
@@ -28,9 +28,11 @@ extern ssize_t my_send_async(struct mysq
                              uint timeout);
 extern my_bool my_poll_read_async(struct mysql_async_context *b,
                                   uint timeout);
+#ifdef HAVE_OPENSSL
 extern int my_ssl_read_async(struct mysql_async_context *b, SSL *ssl,
                              void *buf, int size);
 extern int my_ssl_write_async(struct mysql_async_context *b, SSL *ssl,
                               const void *buf, int size);
+#endif
 
 #endif  /* MYSQL_ASYNC_H */



More information about the commits mailing list