summaryrefslogtreecommitdiff
path: root/src/buildvm_peobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_peobj.c')
-rw-r--r--src/buildvm_peobj.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/buildvm_peobj.c b/src/buildvm_peobj.c
index 4cde6e00..d06392df 100644
--- a/src/buildvm_peobj.c
+++ b/src/buildvm_peobj.c
@@ -322,4 +322,13 @@ void emit_peobj(BuildCtx *ctx)
322 owrite(ctx, strtab, strtabofs); 322 owrite(ctx, strtab, strtabofs);
323} 323}
324 324
325#else
326
327void emit_peobj(BuildCtx *ctx)
328{
329 UNUSED(ctx);
330 fprintf(stderr, "Error: no PE object support for this target\n");
331 exit(1);
332}
333
325#endif 334#endif