Parcourir la source

* ODBC library is called odbc32 on windows

git-svn-id: trunk@17208 -
michael il y a 14 ans
Parent
commit
5a84a0c4ef
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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