sources/version.h

changeset 125
d8ecf07a76cf
parent 123
79830bf162c0
child 126
6a0d6bddf2ab
--- a/sources/version.h	Mon Jan 11 16:27:53 2016 +0200
+++ b/sources/version.h	Mon Jan 11 16:33:08 2016 +0200
@@ -29,33 +29,10 @@
 */
 
 #pragma once
-#include "basics.h"
 #define APPNAME "zfc9000"
-#define VERSION_MAJOR 1
-#define VERSION_MINOR 2
-#define VERSION_PATCH 0
-
-// -------------------------------------------------------------------------------------------------
-// Version string
 
-#if VERSION_PATCH == 0
-# define VERSION_STRING \
-	MACRO_TO_STRING (VERSION_MAJOR) \
-	"." MACRO_TO_STRING (VERSION_MINOR)
-#else
-# define VERSION_STRING \
-	MACRO_TO_STRING (VERSION_MAJOR) \
-	"." MACRO_TO_STRING (VERSION_MINOR) \
-	"." MACRO_TO_STRING (VERSION_PATCH)
-#endif
-
-// -------------------------------------------------------------------------------------------------
 // Returns the bare version string (1.2.3)
-
-inline const char* version_string()
-{
-	return VERSION_STRING;
-}
+const char* version_string();
 
 // Returns full version string, with hash (1.2.3-abcd456)
 const char* full_version_string();

mercurial