qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 15/18] libdecnumber: Don't error out on decNumberLoc


From: Markus Armbruster
Subject: [Qemu-devel] [PATCH 15/18] libdecnumber: Don't error out on decNumberLocal.h re-inclusion
Date: Wed, 29 Jun 2016 17:56:02 +0200

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 <address@hidden>
---
 include/libdecnumber/decNumberLocal.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/libdecnumber/decNumberLocal.h 
b/include/libdecnumber/decNumberLocal.h
index c4d4015..12cf1d8 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
-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]