mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
+ enabled the i386 asm optimized strcomp (was previously disabled due to wrong ifndef)
git-svn-id: trunk@37614 -
This commit is contained in:
parent
c464f7fa56
commit
3d108d5e51
@ -183,7 +183,7 @@ end;
|
||||
|
||||
|
||||
|
||||
{$ifndef FPC_UNIT_HAS_STREND}
|
||||
{$ifndef FPC_UNIT_HAS_STRCOMP}
|
||||
{$define FPC_UNIT_HAS_STRCOMP}
|
||||
function strcomp(str1,str2 : pchar) : longint;assembler;
|
||||
var
|
||||
@ -212,7 +212,7 @@ asm
|
||||
movl saveedi,%edi
|
||||
movl saveesi,%esi
|
||||
end;
|
||||
{$endif FPC_UNIT_HAS_STREND}
|
||||
{$endif FPC_UNIT_HAS_STRCOMP}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user