소스 검색

ia32 GNUC: Use __asm__ instead of asm

Causes an error when using strict ISO modes as
then asm isn't defined

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer 2 년 전
부모
커밋
fd3d975161
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/ia32/math.c

+ 1 - 1
lib/ia32/math.c

@@ -158,7 +158,7 @@ DivU64x32 (
     Rem = 0;
     for (bit=0; bit < 64; bit++) {
 #if defined(__GNUC__) || defined(__MINGW32__)
-        asm (
+        __asm__ (
             "shll	$1, %0\n\t"
             "rcll	$1, 4%0\n\t"
             "rcll	$1, %2\n\t"