From e9a5aef8d4176f41750d28a22afba95d22387843 Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Fri, 20 Jul 2012 21:26:39 +0900 Subject: [Title] Fix several build issues on Mac [Type] [Module] Emulator [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- hw/virtio-pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hw/virtio-pci.c') diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index ce14a0d352..bc14b53fa5 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -779,7 +779,7 @@ static int virtio_balloon_exit_pci(PCIDevice *pci_dev) return virtio_exit_pci(pci_dev); } -//#ifndef _WIN32 +#ifndef CONFIG_DARWIN extern VirtIODevice *virtio_gl_init(DeviceState *dev); static int virtio_gl_init_pci(PCIDevice *pci_dev) { @@ -793,7 +793,7 @@ static int virtio_gl_init_pci(PCIDevice *pci_dev) virtio_init_pci(proxy, vdev); return 0; } -//#endif +#endif static PCIDeviceInfo virtio_info[] = { { @@ -880,7 +880,7 @@ static PCIDeviceInfo virtio_info[] = { }, .qdev.reset = virtio_pci_reset, },{ -//#ifndef _WIN32 +#ifndef CONFIG_DARWIN .qdev.name = "virtio-gl-pci", .qdev.alias = "virtio-gl", .qdev.size = sizeof(VirtIOPCIProxy), @@ -895,7 +895,7 @@ static PCIDeviceInfo virtio_info[] = { }, .qdev.reset = virtio_pci_reset, },{ -//#endif +#endif /* end of list */ } }; -- cgit v1.2.3