summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/io.c b/ld/io.c
index bc8e73c..542ab63 100644
--- a/ld/io.c
+++ b/ld/io.c
@@ -626,8 +626,12 @@ PUBLIC void usage()
PUBLIC void version_msg()
{
stderr_out();
+#ifdef VERSION
putstr("ld86 version: ");
errexit(VERSION);
+#else
+ errexit("ld86 version unknown");
+#endif
}
PUBLIC void use_error(message)