Fix the build timestamp to be more translation friendly
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index aa9ae7f..cf52de5 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -77,14 +77,12 @@
using namespace rfb;
using namespace std;
-static const char _aboutText[] = N_("TigerVNC Viewer %d-bit v%s (%s)\n"
- "%s\n"
+static const char _aboutText[] = N_("TigerVNC Viewer %d-bit v%s\n"
+ "Built on: %s\n"
"Copyright (C) 1999-%d TigerVNC Team and many others (see README.txt)\n"
"See http://www.tigervnc.org for information on TigerVNC.");
static char aboutText[1024];
-extern const char* buildTime;
-
char vncServerName[VNCSERVERNAMELEN] = { '\0' };
static bool exitMainloop = false;
@@ -364,8 +362,8 @@
// Generate the about string now that we get the proper translation
snprintf(aboutText, sizeof(aboutText), _aboutText,
- (int)sizeof(size_t)*8, PACKAGE_VERSION, __BUILD__,
- buildTime, 2014);
+ (int)sizeof(size_t)*8, PACKAGE_VERSION,
+ BUILD_TIMESTAMP, 2014);
rfb::SecurityClient::setDefaults();