Added missing __volatile__.
This commit is contained in:
parent
20cd9356a8
commit
7f04a17ec6
|
@ -87,7 +87,7 @@ static inline unsigned int strlenW( const WCHAR *str )
|
||||||
{
|
{
|
||||||
#if defined(__i386__) && defined(__GNUC__)
|
#if defined(__i386__) && defined(__GNUC__)
|
||||||
int dummy, res;
|
int dummy, res;
|
||||||
__asm__( "cld\n\t"
|
__asm__ __volatile__( "cld\n\t"
|
||||||
"repne\n\t"
|
"repne\n\t"
|
||||||
"scasw\n\t"
|
"scasw\n\t"
|
||||||
"notl %0"
|
"notl %0"
|
||||||
|
|
Loading…
Reference in New Issue