Commit 875cdcf6510264cfef34116008e9185ca7e45680
1 parent
a47f43d2
protect exec-all.h frm multiple inclusion (Glauber Costa)
Signed-off-by: Glauber Costa <glommer@redhat.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5519 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
exec-all.h
@@ -18,6 +18,8 @@ | @@ -18,6 +18,8 @@ | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | +#ifndef _EXEC_ALL_H_ | ||
22 | +#define _EXEC_ALL_H_ | ||
21 | /* allow to see translation results - the slowdown should be negligible, so we leave it */ | 23 | /* allow to see translation results - the slowdown should be negligible, so we leave it */ |
22 | #define DEBUG_DISAS | 24 | #define DEBUG_DISAS |
23 | 25 | ||
@@ -385,3 +387,4 @@ static inline int kqemu_is_ok(CPUState *env) | @@ -385,3 +387,4 @@ static inline int kqemu_is_ok(CPUState *env) | ||
385 | } | 387 | } |
386 | 388 | ||
387 | #endif | 389 | #endif |
390 | +#endif |