aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-02 20:55:59 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-02 20:55:59 +0000
commit11d9f695e710b406a487daf3fb83f82dea314063 (patch)
treee95a76901db8065abb7d7b1ed254a4dc89469e76 /dyngen.c
parent0c607d572860b692db95543c0d37f202c707b09a (diff)
win32 cross compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@694 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dyngen.c b/dyngen.c
index a817d62c93..b10909e78d 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -30,7 +30,9 @@
#include "config-host.h"
-#if defined(_WIN32)
+/* NOTE: we test CONFIG_WIN32 instead of _WIN32 to enabled cross
+ compilation */
+#if defined(CONFIG_WIN32)
#define CONFIG_FORMAT_COFF
#else
#define CONFIG_FORMAT_ELF