aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/JEDI-SDL/moduleloader-libc.patch
blob: 02255db0b8d47456e80182883df83700057267a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: SDL/Pas/moduleloader.pas
===================================================================
--- SDL/Pas/moduleloader.pas	(revision 1144)
+++ SDL/Pas/moduleloader.pas	(working copy)
@@ -185,15 +185,16 @@
 
 {$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;