diff --git a/src/p_w32pe.cpp b/src/p_w32pe.cpp index d7e480bc..15b4041a 100644 --- a/src/p_w32pe.cpp +++ b/src/p_w32pe.cpp @@ -607,7 +607,8 @@ void PackW32Pe::pack(OutputFile *fo) (ih.cpu < 0x14c || ih.cpu > 0x150) || (ih.opthdrsize != 0xe0) || ((ih.flags & EXECUTABLE) == 0) - || (ih.subsystem != 2 && ih.subsystem != 3 && ih.subsystem != 1) + || (ih.subsystem != 2 && ih.subsystem != 3 + && ih.subsystem != 1 && ih.subsystem != 9) || (ih.entry == 0 && !isdll) || (ih.ddirsentries != 16) || IDSIZE(PEDIR_EXCEPTION) // is this used on i386?