summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-26 15:45:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-26 15:45:48 +0200
commit4acf8e361aa68b3e753611c7c7e607c04dfd8d1a (patch)
treef9248976c9b46c52c21cce3bbb0f00d3a0438a85 /tools/syslogd.c
parentf5155a74696c4e1bf367541a093351f47c439b38 (diff)
downloadrsyslog-4acf8e361aa68b3e753611c7c7e607c04dfd8d1a.tar.gz
rsyslog-4acf8e361aa68b3e753611c7c7e607c04dfd8d1a.tar.bz2
rsyslog-4acf8e361aa68b3e753611c7c7e607c04dfd8d1a.zip
make rsyslog version output include the number of bits used for RainerScript
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r--tools/syslogd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index fba60df5..aaeb9866 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -1343,6 +1343,11 @@ static void printVersion(void)
#else
printf("\tuuid support:\t\t\t\tNo\n");
#endif
+#ifdef HAVE_JSON_OBJECT_NEW_INT64
+ printf("\tNumber of Bits in RainerScript integers: 64\n");
+#else
+ printf("\tNumber of Bits in RainerScript integers: 32 (due to too-old json-c lib)\n");
+#endif
printf("\nSee http://www.rsyslog.com for more information.\n");
}