Explorar o código

* ODBC library is called odbc32 on windows

git-svn-id: trunk@17208 -
michael %!s(int64=14) %!d(string=hai) anos
pai
achega
5a84a0c4ef
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      packages/odbc/src/odbcsql.inc

+ 4 - 0
packages/odbc/src/odbcsql.inc

@@ -20,7 +20,11 @@
 {$endif fpc}
 
 {$ifndef DYNLOADINGODBC}
+{$IFDEF WINDOWS}
+  {$linklib odbc32}
+{$ELSE}
   {$linklib odbc}
+{$endif} 
 {$endif}
 
 interface