misc scsi disk/cdrom fixes/improvements 2/4
[qemu] / elf.h
diff --git a/elf.h b/elf.h
index 1bba022..861f1d3 100644 (file)
--- 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 */