From d4ec54ed5bdd6d088a04b9275509648af8ff42fe Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Mon, 7 Feb 2022 18:18:11 +0100 Subject: [PATCH] add #error for word size != 64 --- 2021/include/bits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2021/include/bits.h b/2021/include/bits.h index 5f2ea68..e98f53c 100644 --- a/2021/include/bits.h +++ b/2021/include/bits.h @@ -1,6 +1,6 @@ /* bits.h - bits functions. * - * Copyright (C) 2021 Bruno Raoult ("br") + * Copyright (C) 2021-2022 Bruno Raoult ("br") * Licensed under the GNU General Public License v3.0 or later. * Some rights reserved. See COPYING. * @@ -26,7 +26,7 @@ /* no plan to support 32bits for now... */ #if __WORDSIZE != 64 -ERROR_64_BYTES_WORDSIZE_ONLY +#error "Only 64 bits word size supported." #endif typedef int64_t s64;