summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/output')
-rw-r--r--src/output/pe_output_export_symbols.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/output/pe_output_export_symbols.c b/src/output/pe_output_export_symbols.c
index 642d539..0ab3539 100644
--- a/src/output/pe_output_export_symbols.c
+++ b/src/output/pe_output_export_symbols.c
@@ -16,9 +16,11 @@
static int pretty_header(const struct pe_common_ctx * cctx, FILE * fout)
{
- return (cctx->fmtflags & PERK_PRETTY_YAML)
- ? fputs("exports:\n",fout)
- : 0;
+ if (cctx->fmtflags & PERK_PRETTY_YAML)
+ return fputs("exports:\n",fout);
+ else if (cctx->fmtflags & PERK_PRETTY_DLLTOOL)
+ return fputs("EXPORTS\n",fout);
+ return 0;
}
static int pretty_export_item(const struct pe_common_ctx * cctx, const char * name, FILE * fout)