diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2013-01-13 08:12:45 +0000 |
---|---|---|
committer | Andreas Färber <andreas.faerber@web.de> | 2013-01-15 03:32:37 +0100 |
commit | 08bb4a7c9bb9c12746bce9b3a1f031dd4192afc1 (patch) | |
tree | a16d980d21ffc8f4a8b2c6605d10158e759455f2 /hw/pxa.h | |
parent | 328c24a97b9cde975bc8b12caa4c6c067fff83c6 (diff) | |
download | qemu-08bb4a7c9bb9c12746bce9b3a1f031dd4192afc1.zip qemu-08bb4a7c9bb9c12746bce9b3a1f031dd4192afc1.tar.gz qemu-08bb4a7c9bb9c12746bce9b3a1f031dd4192afc1.tar.bz2 |
pc87312: Avoid define conflict on mingw32
Mingw32 headers define FAR, causing this warning:
/src/qemu/hw/pc87312.c:38:0: warning: "FAR" redefined [enabled by default]
In file included from /usr/local/lib/gcc/i686-mingw32msvc/4.7.0/../../../../i686-mingw32msvc/include/windows.h:48:0,
from /src/qemu/include/sysemu/os-win32.h:29,
from /src/qemu/include/qemu-common.h:46,
from /src/qemu/include/exec/ioport.h:27,
from /src/qemu/hw/isa.h:6,
from /src/qemu/hw/pc87312.h:28,
from /src/qemu/hw/pc87312.c:26:
/usr/local/lib/gcc/i686-mingw32msvc/4.7.0/../../../../i686-mingw32msvc/include/windef.h:34:0: note: this is the location of the previous definition
Avoid the warning by expanding the macros.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Acked-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Diffstat (limited to 'hw/pxa.h')
0 files changed, 0 insertions, 0 deletions