mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 21:48:09 +02:00
Disable MemPos on JVM.
This commit is contained in:
parent
c3f80014b4
commit
840df7e243
@ -671,7 +671,7 @@ end;
|
||||
{$endif not FPC_SYSTEM_HAS_COMPARECHAR0}
|
||||
|
||||
|
||||
{$ifndef FPC_SYSTEM_HAS_MEMPOS_PBYTE}
|
||||
{$if not defined(FPC_SYSTEM_HAS_MEMPOS_PBYTE) and not defined(CPUJVM)}
|
||||
function MemPos(needle:PByte;nNeedle:SizeUint;haystack:PByte;nHaystack:SizeUint):SizeInt;
|
||||
var
|
||||
p,d,pmaxplus1,iNeedle : SizeUint;
|
||||
|
Loading…
Reference in New Issue
Block a user