summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Armbruster2016-06-29 11:49:19 +0200
committerMarkus Armbruster2016-07-12 16:19:16 +0200
commit965379b4555aef0aaae734a7be139454bb0fcac4 (patch)
tree68a60edb3afd54e3e8a3cc085df09eee25202680 /include
parentlibdecnumber: Don't fool around with guards to avoid #include (diff)
downloadqemu-965379b4555aef0aaae734a7be139454bb0fcac4.tar.gz
qemu-965379b4555aef0aaae734a7be139454bb0fcac4.tar.xz
qemu-965379b4555aef0aaae734a7be139454bb0fcac4.zip
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>
Diffstat (limited to 'include')
-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