summaryrefslogtreecommitdiff
path: root/as/as.c
diff options
context:
space:
mode:
Diffstat (limited to 'as/as.c')
-rw-r--r--as/as.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/as/as.c b/as/as.c
index c5fee7e..fa0f9bf 100644
--- a/as/as.c
+++ b/as/as.c
@@ -193,7 +193,11 @@ char **argv;
case 'v':
outfd = STDOUT;
writes("as86 version: ");
+#ifdef VERSION
writesn(VERSION);
+#else
+ writesn("Unknown!");
+#endif
exit(1);
#ifdef I80386
case '0': case '1': case '2':