aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Loop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/src/Loop.cpp')
-rw-r--r--nxcomp/src/Loop.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index bb8a89d64..eb7373f9f 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -13308,13 +13308,18 @@ void PrintConnectionInfo()
void PrintVersionInfo()
{
- cerr << "NXPROXY - " << "Version "
+ cerr << "NXPROXY - Version "
+#ifdef NX_VERSION_CUSTOM
+ << NX_VERSION_CUSTOM << " ("
+#endif
<< control -> LocalVersionMajor << "."
<< control -> LocalVersionMinor << "."
<< control -> LocalVersionPatch << "."
- << control -> LocalVersionMaintenancePatch;
-
- cerr << endl;
+ << control -> LocalVersionMaintenancePatch
+#ifdef NX_VERSION_CUSTOM
+ << ")"
+#endif
+ << endl;
}
void PrintCopyrightInfo()