Parcourir la source

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 il y a 2 ans
Parent
commit
fd3d975161
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"