aboutsummaryrefslogtreecommitdiffstats
path: root/ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-03-21 19:25:18 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-03-21 19:25:18 +0000
commitb38772ffdbcc6bf2189d0e14a9828f911ea44a7d (patch)
tree2101a9210ae02284af56415f65e9f108ebd12163 /ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch
parent5d69ab51fd28961fd43b7e7646768b5a6dcbcb25 (diff)
downloadusdx-b38772ffdbcc6bf2189d0e14a9828f911ea44a7d.tar.gz
usdx-b38772ffdbcc6bf2189d0e14a9828f911ea44a7d.tar.xz
usdx-b38772ffdbcc6bf2189d0e14a9828f911ea44a7d.zip
new branch for whiteshark's service and hook based (party) plugins
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1643 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch')
-rw-r--r--ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch b/ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch
new file mode 100644
index 00000000..02255db0
--- /dev/null
+++ b/ServiceBasedPlugins/src/lib/JEDI-SDL/moduleloader-libc.patch
@@ -0,0 +1,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;