summaryrefslogtreecommitdiffstats
path: root/loader/wine
diff options
context:
space:
mode:
Diffstat (limited to 'loader/wine')
-rw-r--r--loader/wine/windef.h2
-rw-r--r--loader/wine/winnt.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/loader/wine/windef.h b/loader/wine/windef.h
index 7b836e12a4..9d90a42257 100644
--- a/loader/wine/windef.h
+++ b/loader/wine/windef.h
@@ -94,7 +94,7 @@ extern "C" {
# ifndef _EGCS_
#define __stdcall __attribute__((__stdcall__))
#define __cdecl __attribute__((__cdecl__))
-# define RESTORE_ES __asm__ __volatile__("pushl %ds\n\tpopl %es")
+# define RESTORE_ES __asm__ volatile("pushl %ds\n\tpopl %es")
# endif
# else
// # error You need gcc >= 2.7 to build Wine on a 386
diff --git a/loader/wine/winnt.h b/loader/wine/winnt.h
index cbe06f6976..19594e71b1 100644
--- a/loader/wine/winnt.h
+++ b/loader/wine/winnt.h
@@ -693,7 +693,7 @@ typedef HANDLE *PHANDLE;
#else /* __GNUC__ */
# define ASM_GLOBAL_FUNC(name,code) \
void asm_dummy_##name(void) { \
- asm( ".align 4\n\t" \
+ __asm__( ".align 4\n\t" \
".globl " ASM_NAME(#name) "\n\t" \
".type " ASM_NAME(#name) ",@function\n" \
ASM_NAME(#name) ":\n\t" \