void-packages/srcpkgs/rsyslog/patches/non-atomic-builtins-64-fix....

24 lines
727 B
Diff

From a92972687652dc8b793ee5cb04ec676910aaa725 Mon Sep 17 00:00:00 2001
From: Eivind Uggedal <eivind@uggedal.com>
Date: Tue, 16 Sep 2014 21:45:12 +0000
Subject: [PATCH] build fix for systems without 64bit atomic builtins
Triggered for instance when cross compiling to armv6.
---
runtime/statsobj.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/statsobj.h b/runtime/statsobj.h
index 347f639..d56485d 100644
--- runtime/statsobj.h
+++ runtime/statsobj.h
@@ -139,7 +139,7 @@ PROTOTYPEObj(statsobj);
*/
#define STATSCOUNTER_DEF(ctr, mut) \
intctr_t ctr; \
- DEF_ATOMIC_HELPER_MUT64(mut)
+ DEF_ATOMIC_HELPER_MUT64(mut);
#define STATSCOUNTER_INIT(ctr, mut) \
INIT_ATOMIC_HELPER_MUT64(mut); \