Support MySQL on OSX
This commit is contained in:
parent
a41b62da97
commit
7b9650ed1b
1 changed files with 9 additions and 5 deletions
|
|
@ -10,11 +10,15 @@
|
||||||
{.deadCodeElim: on.}
|
{.deadCodeElim: on.}
|
||||||
{.push, callconv: cdecl.}
|
{.push, callconv: cdecl.}
|
||||||
|
|
||||||
when defined(Unix):
|
when defined(Unix):
|
||||||
const
|
when defined(macosx):
|
||||||
lib = "libmysqlclient.so.(15|16|17|18)"
|
const
|
||||||
when defined(Windows):
|
lib = "libmysqlclient.(15|16|17[18).dylib"
|
||||||
const
|
else:
|
||||||
|
const
|
||||||
|
lib = "libmysqlclient.so.(15|16|17|18)"
|
||||||
|
when defined(Windows):
|
||||||
|
const
|
||||||
lib = "libmysql.dll"
|
lib = "libmysql.dll"
|
||||||
type
|
type
|
||||||
my_bool* = bool
|
my_bool* = bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue