diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-06-09 10:22:14 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-06-09 10:22:14 +0000 |
commit | 3158ee2b850ce0311d8cb8f03cbe6b1681a1f48f (patch) | |
tree | 2ad9f8a8ed8b7ac82525f94af6db09b1d3e35032 /Game/Code/lib/JEDI-SDL/SDL | |
parent | 46bb010ca7c5eb04551c030105f9999ca80e472f (diff) | |
download | usdx-3158ee2b850ce0311d8cb8f03cbe6b1681a1f48f.tar.gz usdx-3158ee2b850ce0311d8cb8f03cbe6b1681a1f48f.tar.xz usdx-3158ee2b850ce0311d8cb8f03cbe6b1681a1f48f.zip |
- all references to the libc unit removed. The Libc unit (not the library) was for kylix compatibility and should not be used anymore. In addition it seems the libc unit is not available on 64bit systems.
- added some functions that will be introduced with FPC 2.2.2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1145 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/JEDI-SDL/SDL')
-rw-r--r-- | Game/Code/lib/JEDI-SDL/SDL/Pas/moduleloader.pas | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Game/Code/lib/JEDI-SDL/SDL/Pas/moduleloader.pas b/Game/Code/lib/JEDI-SDL/SDL/Pas/moduleloader.pas index 56863ea5..ea4f220c 100644 --- a/Game/Code/lib/JEDI-SDL/SDL/Pas/moduleloader.pas +++ b/Game/Code/lib/JEDI-SDL/SDL/Pas/moduleloader.pas @@ -185,15 +185,16 @@ end; {$IFDEF Unix} uses -{$ifdef Linux} - Types, - Libc; -{$else} +{$ifdef FPC} dl, Types, Baseunix, Unix; +{$else} + Types, + Libc; {$endif} + type // Handle to a loaded .so TModuleHandle = Pointer; |