aboutsummaryrefslogblamecommitdiffstats
path: root/cmake/src/lib/JEDI-SDL/moduleloader-libc.patch
blob: 02255db0b8d47456e80182883df83700057267a8 (plain) (tree)
























                                                                    
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;