[PATCH 0/3] Use "__asm__" keyword instead of "asm"
Yann Droneaud
yann at droneaud.fr
Tue Oct 27 04:30:19 CDT 2009
Le lundi 26 octobre 2009 à 15:33 +0100, Yann Droneaud a écrit :
> When using GCC in ansi/c99 mode, "asm" is not defined, one have
> to use "__asm__" instead.
> "__asm__" is already used in wine source code except in some
> files.
>
I'm now thinking that configure should search which keyword to use
depending on compile/flags used.
Then declare a define, for example __ASM__, to be used in source code.
For example:
#define __ASM__(code) asm(code)
else
#define __ASM__(code) __asm__(code)
Keywords asm/__asm__/__asm could be used as-is in compiler dependent
code.
Regards.
--
Yann Droneaud
More information about the wine-devel
mailing list