From 98634890107dee9b4f4751216f38135be6b83c13 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 29 Oct 2013 02:07:50 +0500 Subject: [PATCH] FS-5917 --resolve --- src/include/switch_version.h.template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/include/switch_version.h.template b/src/include/switch_version.h.template index 2e253dc69f..06169d603f 100644 --- a/src/include/switch_version.h.template +++ b/src/include/switch_version.h.template @@ -37,11 +37,17 @@ extern "C" { #endif +#if UINTPTR_MAX == 0xffffffffffffffff +#define _fs__bits "64bit" +#else +#define _fs__bits "32bit" +#endif + #define SWITCH_VERSION_MAJOR "@SWITCH_VERSION_MAJOR@" #define SWITCH_VERSION_MINOR "@SWITCH_VERSION_MINOR@" #define SWITCH_VERSION_MICRO "@SWITCH_VERSION_MICRO@" -#define SWITCH_VERSION_REVISION "@SWITCH_VERSION_REVISION@" -#define SWITCH_VERSION_REVISION_HUMAN "@SWITCH_VERSION_REVISION_HUMAN@" +#define SWITCH_VERSION_REVISION "@SWITCH_VERSION_REVISION@" "~" _fs__bits +#define SWITCH_VERSION_REVISION_HUMAN "@SWITCH_VERSION_REVISION_HUMAN@" " " _fs__bits #define SWITCH_VERSION_FULL SWITCH_VERSION_MAJOR "." SWITCH_VERSION_MINOR "." SWITCH_VERSION_MICRO SWITCH_VERSION_REVISION #define SWITCH_VERSION_FULL_HUMAN SWITCH_VERSION_MAJOR "." SWITCH_VERSION_MINOR "." SWITCH_VERSION_MICRO " " SWITCH_VERSION_REVISION_HUMAN