From e7cef2a6ea56f701ee6214085b39508b9d7ede69 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Nov 2021 22:02:56 +0100 Subject: [PATCH] =?UTF-8?q?macro-fundamental:=20fix=20bool=20=E2=86=92=20s?= =?UTF-8?q?d=5Fbool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fundamental/macro-fundamental.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fundamental/macro-fundamental.h b/src/fundamental/macro-fundamental.h index cd9e60cf60..1f640b3ae3 100644 --- a/src/fundamental/macro-fundamental.h +++ b/src/fundamental/macro-fundamental.h @@ -85,7 +85,7 @@ #define ONCE __ONCE(UNIQ_T(_once_, UNIQ)) #define __ONCE(o) \ ({ \ - static bool (o) = sd_false; \ + static sd_bool (o) = sd_false; \ __sync_bool_compare_and_swap(&(o), sd_false, sd_true); \ })