aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcc.c b/tcc.c
index 76c3469..ce5e09f 100644
--- a/tcc.c
+++ b/tcc.c
@@ -412,6 +412,9 @@ int parse_args(TCCState *s, int argc, char **argv)
s->pe_subsystem = 12;
else if (!strcmp(p, "efirom"))
s->pe_subsystem = 13;
+#elif defined(TCC_TARGET_ARM)
+ if (!strcmp(p, "wince"))
+ s->pe_subsystem = 9;
#endif
else {
error("invalid subsystem '%s'", p);