From 25245cc682bd1a4854cc8b33e301bb4f0cb48fc6 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 30 Jan 2009 15:40:53 +0100 Subject: added info if atomic ops are available to rsyslogd -v output --- tools/syslogd.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') 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 -- cgit