summaryrefslogtreecommitdiffstats
path: root/src/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/version.h b/src/version.h
index 60246b7..0c4a66b 100644
--- a/src/version.h
+++ b/src/version.h
@@ -21,7 +21,10 @@
#ifndef VERSION_H_
#define VERSION_H_
-#define VERSION_STRING "1.0.0"
-#define VERSION_NUMBER 100
+extern const char *VERSION_STRING;
+
+// This is done in a little weird way but otherwise eclipse complains about
+// unresolvable symbols etc...
+#include "version.c"
#endif /* VERSION_H_ */