diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-10 06:24:16 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-10 06:24:16 +0000 |
commit | 8dc13b99b51555be6fa16d271ddb02d995b46d96 (patch) | |
tree | 83fb595c0ed16c5ffebcfa865eb3112322e66cdd /src/lib/SQLite | |
parent | d6554ccc1ec223c52f33ff034491e64ac1fa92aa (diff) | |
download | usdx-8dc13b99b51555be6fa16d271ddb02d995b46d96.tar.gz usdx-8dc13b99b51555be6fa16d271ddb02d995b46d96.tar.xz usdx-8dc13b99b51555be6fa16d271ddb02d995b46d96.zip |
FreeBSD compatibility fixes:
- {$IF Defined(Linux)} -> {$IF Defined(Linux) or Defined(BSD)} or {$IF Defined(UNIX)}
- config-freebsd.inc added
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1357 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/SQLite')
-rw-r--r-- | src/lib/SQLite/SQLite3.pas | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/SQLite/SQLite3.pas b/src/lib/SQLite/SQLite3.pas index c702554a..b300f9f2 100644 --- a/src/lib/SQLite/SQLite3.pas +++ b/src/lib/SQLite/SQLite3.pas @@ -20,16 +20,14 @@ unit SQLite3; interface const -{$IFDEF MSWINDOWS} +{$IF Defined(MSWINDOWS)} SQLiteDLL = 'sqlite3.dll'; -{$ENDIF} -{$IFDEF LINUX} - SQLiteDLL = 'sqlite3.so'; -{$ENDIF} -{$IFDEF DARWIN} +{$ELSEIF Defined(DARWIN)} SQLiteDLL = 'libsqlite3.dylib'; {$linklib libsqlite3} -{$ENDIF} +{$ELSEIF Defined(UNIX)} + SQLiteDLL = 'sqlite3.so'; +{$IFEND} // Return values for sqlite3_exec() and sqlite3_step() |