aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
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