]> git.proxmox.com Git - qemu.git/commit - target-i386/cpu.c
win32: provide separate macros for weak decls and definitions
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 15 Aug 2012 03:17:36 +0000 (22:17 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 15 Aug 2012 18:26:03 +0000 (13:26 -0500)
commit76b64a7aa84965ee9c7594058a43b00c2a14c72e
treeee5e9b954e92ace0090d47aa811c76129da8e34f
parentd1186a33efa74c91b01e1b5d9918c61d109f1b54
win32: provide separate macros for weak decls and definitions

mingw32 seems to want the declaration to also carry the weak attribute.
Strangely, gcc on Linux absolutely does not want the declaration to be marked
as weak.  This may not be the right fix, but it seems to do the trick.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
arch_init.h
compiler.h
qmp.c
target-i386/cpu.c
target-ppc/translate_init.c