opnsense-ports/emulators/open-vm-tools/files/patch-vm_basic_asm.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
335 B
C

--- lib/include/vm_basic_asm.h.orig 2013-11-13 03:22:29.000000000 +0000
+++ lib/include/vm_basic_asm.h 2013-11-13 03:24:26.000000000 +0000
@@ -208,7 +208,7 @@
GetCallerEFlags(void)
{
unsigned long flags;
- asm volatile("pushf; pop %0" : "=r"(flags));
+ __asm__ volatile("pushf; pop %0" : "=r"(flags));
return flags;
}