Browse Source

* ODBC library is called odbc32 on windows

git-svn-id: trunk@17208 -
michael 14 years ago
parent
commit
5a84a0c4ef
1 changed files with 4 additions and 0 deletions
  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