From: Markus Armbruster Date: Wed, 29 Jun 2016 09:49:19 +0000 (+0200) Subject: libdecnumber: Don't error out on decNumberLocal.h re-inclusion X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=965379b4555aef0aaae734a7be139454bb0fcac4;p=qemu.git libdecnumber: Don't error out on decNumberLocal.h re-inclusion decNumberLocal.h errors out when it's included with its header guard defined. This catches multiple inclusions. Drop that. Including it multiple times is safe, and the compiler can do it efficiently. Signed-off-by: Markus Armbruster Reviewed-by: Richard Henderson --- diff --git a/include/libdecnumber/decNumberLocal.h b/include/libdecnumber/decNumberLocal.h index c4d401534e..12cf1d8b6f 100644 --- a/include/libdecnumber/decNumberLocal.h +++ b/include/libdecnumber/decNumberLocal.h @@ -659,6 +659,4 @@ /* [end of format-dependent macros and constants] */ #endif -#else - #error decNumberLocal included more than once #endif