diff options
| author | Timo VJ Lahde <timovj.lahde@gmail.com> | 2010-04-19 16:34:59 +0300 |
|---|---|---|
| committer | Timo VJ Lahde <timovj.lahde@gmail.com> | 2010-04-19 16:34:59 +0300 |
| commit | 809f48966258376b41a9ed642bcf0806739aa1f2 (patch) | |
| tree | 29c2b5b349e266ade839d26a2a501aa15e91c91b | |
| parent | 2cb1fd6a10796476c4f785de3c03d749427e24d2 (diff) | |
| download | tinycc-809f48966258376b41a9ed642bcf0806739aa1f2.tar.gz tinycc-809f48966258376b41a9ed642bcf0806739aa1f2.tar.bz2 | |
WinCE PE subsystem
| -rw-r--r-- | tccpe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -680,6 +680,8 @@ static int pe_write(struct pe_info *pe) pe_header.filehdr.Characteristics = CHARACTERISTICS_DLL; else if (PE_GUI != pe->type) pe_header.opthdr.Subsystem = 3; + if (pe->subsystem == 9) // WinCE + pe_header.opthdr.Subsystem = 9; sum = 0; pe_fwrite(&pe_header, sizeof pe_header, op, &sum); |
