projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6031a51
)
libdecnumber: Don't error out on decNumberLocal.h re-inclusion
author
Markus Armbruster
<armbru@redhat.com>
Wed, 29 Jun 2016 09:49:19 +0000
(11:49 +0200)
committer
Markus Armbruster
<armbru@redhat.com>
Tue, 12 Jul 2016 14:19:16 +0000
(16:19 +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 <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
include/libdecnumber/decNumberLocal.h
patch
|
blob
|
history
diff --git
a/include/libdecnumber/decNumberLocal.h
b/include/libdecnumber/decNumberLocal.h
index c4d401534e75f58e2e9384f71b46c2b64438e4a0..12cf1d8b6f34cc9980faaf185481282e71cc9eb2 100644
(file)
--- 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