aboutsummaryrefslogtreecommitdiff
path: root/versionprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'versionprint.c')
-rwxr-xr-xversionprint.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/versionprint.c b/versionprint.c
new file mode 100755
index 0000000..cdc9b53
--- /dev/null
+++ b/versionprint.c
@@ -0,0 +1,9 @@
+#!/usr/bin/tcc -run
+#include "version.h"
+#include <stdio.h>
+
+int main(void) {
+ puts(FMPLAYER_VERSION_STR);
+ return 0;
+}
+