aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/SQLite
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/lib/SQLite')
-rw-r--r--Game/Code/lib/SQLite/SQLite3.pas10
-rw-r--r--Game/Code/lib/SQLite/SQLiteTable3.pas4
2 files changed, 11 insertions, 3 deletions
diff --git a/Game/Code/lib/SQLite/SQLite3.pas b/Game/Code/lib/SQLite/SQLite3.pas
index b7f9d375..4991fc66 100644
--- a/Game/Code/lib/SQLite/SQLite3.pas
+++ b/Game/Code/lib/SQLite/SQLite3.pas
@@ -10,9 +10,19 @@ unit SQLite3;
interface
+{$I switches.inc}
+
const
+{$IFDEF MSWINDOWS}
SQLiteDLL = 'sqlite3.dll';
+{$ENDIF}
+{$IFDEF LINUX}
+ SQLiteDLL = 'sqlite3.so';
+{$ENDIF}
+{$IFDEF DARWIN}
+ SQLiteDLL = 'libsqlite3.dylib';
+{$ENDIF}
// Return values for sqlite3_exec() and sqlite3_step()
diff --git a/Game/Code/lib/SQLite/SQLiteTable3.pas b/Game/Code/lib/SQLite/SQLiteTable3.pas
index 05fbd573..18135765 100644
--- a/Game/Code/lib/SQLite/SQLiteTable3.pas
+++ b/Game/Code/lib/SQLite/SQLiteTable3.pas
@@ -17,9 +17,7 @@ unit SQLiteTable3;
interface
-{$IFDEF FPC}
- {$MODE Delphi}
-{$ENDIF}
+{$I switches.inc}
uses
{$ifdef win32}