qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Win32 build


From: Filip Navara
Subject: [Qemu-devel] [PATCH] Win32 build
Date: Sun, 09 Jan 2005 03:25:43 +0100
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Changes:
- Add x86_64-softmmu target to the build.
- Fix compiling with newer w32api headers.

Index: configure
===================================================================
RCS file: /cvsroot/qemu/qemu/configure,v
retrieving revision 1.50
diff -u -r1.50 configure
--- configure   3 Jan 2005 23:38:40 -0000       1.50
+++ configure   9 Jan 2005 01:59:41 -0000
@@ -181,7 +181,7 @@
 strip="${cross_prefix}${strip}"
 
 if test "$mingw32" = "yes" ; then
-    target_list="i386-softmmu ppc-softmmu sparc-softmmu"
+    target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu"
     EXESUF=".exe"
     gdbstub="no"
     oss="no"
Index: slirp/slirp.h
===================================================================
RCS file: /cvsroot/qemu/qemu/slirp/slirp.h,v
retrieving revision 1.9
diff -u -r1.9 slirp.h
--- slirp/slirp.h       14 Nov 2004 18:58:04 -0000      1.9
+++ slirp/slirp.h       9 Jan 2005 01:54:47 -0000
@@ -20,6 +20,7 @@
 typedef uint64_t u_int64_t;
 typedef char *caddr_t;
 
+# include <windows.h>
 # include <winsock2.h>
 # include <sys/timeb.h>
 # include <iphlpapi.h>
Index: target-i386/ops_template.h
===================================================================
RCS file: /cvsroot/qemu/qemu/target-i386/ops_template.h,v
retrieving revision 1.8
diff -u -r1.8 ops_template.h
--- target-i386/ops_template.h  3 Jan 2005 23:50:08 -0000       1.8
+++ target-i386/ops_template.h  9 Jan 2005 02:18:37 -0000
@@ -46,7 +46,7 @@
 #define SUFFIX q
 #define DATA_TYPE uint64_t
 #define DATA_STYPE int64_t
-#define DATA_MASK 0xffffffffffffffff
+#define DATA_MASK 0xffffffffffffffffULL
 #else
 #error unhandled operand size
 #endif

reply via email to

[Prev in Thread] Current Thread [Next in Thread]