block-raw.c COCOA patch
block-raw.c 28 Aug 2006 15:41:38 -0000 renamed from block-raw.c 24 Aug 2006 18:58:29 -0000 1.9 +4 -0
@@ -25,7 +25,11 @@ #include "block_int.h" #include <assert.h> #ifndef _WIN32 +#ifdef CONFIG_COCOA +#include <sys/aio.h> +#else #include <aio.h> +#endif #ifndef QEMU_TOOL #include "exec-all.h"
--
Many receive advice, few profit by it.
-- Publilius Syrus
Hi Jose,
block-raw.c 28 Aug 2006 15:41:38 -0000 line 32
Quoted 12 lines · Jose Renau
block-raw.c 28 Aug 2006 15:41:38 -0000 renamed from block-raw.c 24 Aug 2006 18:58:29 -0000 1.9 +4
-0@@ -25,7 +25,11 @@ #include "block_int.h" #include <assert.h> #ifndef _WIN32 +#ifdef CONFIG_COCOA +#include <sys/aio.h> +#else #include <aio.h> +#endif
Did you mean CONFIG_DARWIN? Qemu can be built without Cocoa.
-- Ph.
Thanks, I did not know the CONFIG_DARWING define.
Quoted 18 lines · Phil Krylov
Hi Jose,
block-raw.c 28 Aug 2006 15:41:38 -0000 line 32
Quoted 12 lines · Jose Renau
block-raw.c 28 Aug 2006 15:41:38 -0000 renamed from block-raw.c 24 Aug 2006 18:58:29 -0000 1.9 +4
-0@@ -25,7 +25,11 @@ #include "block_int.h" #include <assert.h> #ifndef _WIN32 +#ifdef CONFIG_COCOA +#include <sys/aio.h> +#else #include <aio.h> +#endifDid you mean
CONFIG_DARWIN? Qemu can be built without Cocoa.
Quoted 2 lines
-- Ph.
--
Never underestimate the power of human stupidity.
- Lazarus Long