We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afec636 + 58baec6 commit ed4f0e7Copy full SHA for ed4f0e7
module.modulemap
@@ -1,5 +1,5 @@
1
module mysqlclient {
2
- header "/usr/local/include/mysql/mysql.h"
+ header "mysql_osx.h"
3
link "mysqlclient"
4
export *
5
}
mysql_osx.h
@@ -0,0 +1,9 @@
+#ifndef __PERFECT_MYSQL_OSX__
+#define __PERFECT_MYSQL_OSX__
+#include "/usr/local/include/mysql/mysql.h"
+
+#if LIBMYSQL_VERSION_ID > 80000
6
+typedef char my_bool;
7
+#endif
8
9
0 commit comments