* fixes sqlite3 for freeBSD (and possibly other BSDs)

* fixes testapiv3x.pp to be compilable on unix as well

git-svn-id: trunk@3424 -
This commit is contained in:
Almindor 2006-05-05 21:44:43 +00:00
parent 68c2eb7a75
commit 68f3c258d8
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,10 @@
{$mode objfpc}
{$ifdef BSD}
{$linklib c}
{$linklib pthread}
{$endif}
unit sqlite3;
interface

View File

@ -3,7 +3,7 @@ program testapiv3x;
{$APPTYPE CONSOLE}
{$MODE DELPHI}
uses windows, sqlite3, sysutils;
uses sqlite3, sysutils;
const
DBFILE='dbtest.db';