Skip to contentSkip to conversation

block-raw.c COCOA patch

Qemu-devel Jose Renau 2 participants 3 messages Aug 28, 2006

lore
Share & tools
lore

Jose Renau

author
#0 lore raw
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

#1 lore raw

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.

author
#2 lore raw

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>
+#endif

Did you mean CONFIG_DARWIN? Qemu can be built without Cocoa.

Quoted 2 lines

-- Ph.

--
Never underestimate the power of human stupidity.
- Lazarus Long