aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-06-29 11:49:19 +0200
committerMarkus Armbruster <armbru@redhat.com>2016-07-12 16:19:16 +0200
commit965379b4555aef0aaae734a7be139454bb0fcac4 (patch)
tree68a60edb3afd54e3e8a3cc085df09eee25202680
parent6031a51f1dab45bc6d5f8db1825e8f4f7915a870 (diff)
downloadqemu-arm-965379b4555aef0aaae734a7be139454bb0fcac4.tar.gz
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 <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--include/libdecnumber/decNumberLocal.h2
1 files changed, 0 insertions, 2 deletions
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