aboutsummaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-06 17:47:39 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-06 17:47:39 +0000
commiteb38c52c2a6df76928c1a4760bc87d21b256e22a (patch)
tree0b391e1d33f6f47a90f7c3fa8e63e863ee9f1b8e /elf.h
parent5bfd5521ff344eedd862abdfda9a68cefad912ba (diff)
Fix most warnings that would be caused by gcc flag -Wundef
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5173 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index 1bba0228bf..861f1d3840 100644
--- a/elf.h
+++ b/elf.h
@@ -1123,6 +1123,7 @@ typedef struct elf64_note {
Elf64_Word n_type; /* Content type */
} Elf64_Nhdr;
+#ifdef ELF_CLASS
#if ELF_CLASS == ELFCLASS32
#define elfhdr elf32_hdr
@@ -1165,5 +1166,7 @@ typedef struct elf64_note {
# endif
#endif
+#endif /* ELF_CLASS */
+
#endif /* _QEMU_ELF_H */