aboutsummaryrefslogblamecommitdiffstats
path: root/src/lib/JEDI-SDL/moduleloader-libc.patch
blob: 7d3db85748c784e9bfe8f3873968613e5eb10b60 (plain) (tree)
1
2
3
4
5




                                                                   



















                            
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;