Changed repne to repnz for Solaris assembler.

This commit is contained in:
Konrad Rieck 2000-10-13 17:03:52 +00:00 committed by Alexandre Julliard
parent 48fc4aaaea
commit c6f0a4ed87
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static inline unsigned int strlenW( const WCHAR *str )
#if defined(__i386__) && defined(__GNUC__)
int dummy, res;
__asm__ __volatile__( "cld\n\t"
"repne\n\t"
"repnz\n\t"
"scasw\n\t"
"notl %0"
: "=c" (res), "=&D" (dummy)