From 33d9cedfd9be2dea6f5ec8f7a2f135159cbfc78b Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 23 Jan 2004 00:00:06 +0000 Subject: [PATCH] * arm requires oldmmap call as well --- rtl/linux/ossysc.inc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/rtl/linux/ossysc.inc b/rtl/linux/ossysc.inc index 2f3b042a39..3197414904 100644 --- a/rtl/linux/ossysc.inc +++ b/rtl/linux/ossysc.inc @@ -353,6 +353,10 @@ type {$define OLDMMAP} {$endif cpum68k} +{$ifdef cpuarm} +{$define OLDMMAP} +{$endif cpuarm} + Function Fpmmap(adr:pointer;len:size_t;prot:cint;flags:cint;fd:cint;off:off_t):pointer; [public, alias : 'FPC_SYSC_MMAP']; // OFF_T procedure, and returns a pointer, NOT cint. @@ -467,7 +471,10 @@ end; { $Log$ - Revision 1.12 2003-12-30 16:26:10 marco + Revision 1.13 2004-01-23 00:00:06 florian + * arm requires oldmmap call as well + + Revision 1.12 2003/12/30 16:26:10 marco * some more fixes. Testing on idefix Revision 1.11 2003/12/30 15:43:20 marco @@ -509,4 +516,4 @@ end; * The syscall core of the new system unit. -} +} \ No newline at end of file