Browse Source

* ODBC library is called odbc32 on windows

git-svn-id: trunk@17208 -
michael 14 năm trước cách đây
mục cha
commit
5a84a0c4ef
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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