Skip to contentSkip to conversation

Do not include compatfd for WIN32

PATCH Applied Jan Kiszka 2 participants 2 messages Jun 23, 2011

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 Do not include compatfd for WIN32

From: Jan Kiszka <[email protected]>

sigset_t, used by that header, is not available in mingw32 environments.

---
 cpus.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
cpus.c +3 -0
index 322295c..600f8f5 100644
@@ -34,7 +34,10 @@
 
 #include "qemu-thread.h"
 #include "cpus.h"
+
+#ifndef _WIN32
 #include "compatfd.h"
+#endif
 
 #ifdef SIGRTMIN
 #define SIG_IPI (SIGRTMIN+4)
Signature · 1 line
1.7.1