diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-01-30 15:40:53 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-01-30 15:40:53 +0100 |
commit | 25245cc682bd1a4854cc8b33e301bb4f0cb48fc6 (patch) | |
tree | 8242733fdc3bdf3199786cd271e8fd839dabbfbb /tools/syslogd.c | |
parent | b54797da054a74144f10dfeb0daeca99decd9b12 (diff) | |
download | rsyslog-25245cc682bd1a4854cc8b33e301bb4f0cb48fc6.tar.gz rsyslog-25245cc682bd1a4854cc8b33e301bb4f0cb48fc6.tar.xz rsyslog-25245cc682bd1a4854cc8b33e301bb4f0cb48fc6.zip |
added info if atomic ops are available to rsyslogd -v output
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r-- | tools/syslogd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 1447d868..b0d6fa25 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -2792,6 +2792,11 @@ static void printVersion(void) #else printf("\tFEATURE_DEBUG (debug build, slow code):\tNo\n"); #endif +#ifdef HAVE_ATOMIC_BUILTINS + printf("\tAtomic operations supported:\t\tYes\n"); +#else + printf("\tAtomic operations supported:\t\tNo\n"); +#endif #ifdef RTINST printf("\tRuntime Instrumentation (slow code):\tYes\n"); #else |