diff vidix/sysdep/pci_os2.c @ 27754:08d18fe9da52

Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg. Neither variant is valid C99 syntax, but __asm__ is the most portable variant.
author diego
date Thu, 16 Oct 2008 18:59:27 +0000
parents 502f04b67653
children 0f1b5b68af32
line wrap: on
line diff
--- a/vidix/sysdep/pci_os2.c	Thu Oct 16 18:28:38 2008 +0000
+++ b/vidix/sysdep/pci_os2.c	Thu Oct 16 18:59:27 2008 +0000
@@ -62,7 +62,7 @@
  
 /* Calling callgate with function 13 sets IOPL for the program */
  
-	asm volatile ("movl $13,%%ebx;.byte 0xff,0x1d;.long _callgate"
+	__asm__ volatile ("movl $13,%%ebx;.byte 0xff,0x1d;.long _callgate"
 			: /*no outputs */
 			: /*no inputs */
 			: "eax","ebx","ecx","edx","cc");