mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
Add osx support for ODBC driver when linking libodbc (#21291)
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
This commit is contained in:
@@ -14,6 +14,9 @@ when not defined(ODBCVER):
|
||||
when defined(windows):
|
||||
{.push callconv: stdcall.}
|
||||
const odbclib = "odbc32.dll"
|
||||
elif defined(macosx):
|
||||
{.push callconv: stdcall.}
|
||||
const odbclib = "libodbc.dylib"
|
||||
else:
|
||||
{.push callconv: cdecl.}
|
||||
const odbclib = "libodbc.so"
|
||||
|
||||
Reference in New Issue
Block a user