summary refs log tree commit diff stats
path: root/elf.h
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-07-18 13:10:12 +0400
committermalc <av1474@comtv.ru>2009-07-18 13:16:51 +0400
commit3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6 (patch)
treed3fa4c50d285d96efaa3bf37d081d8d159f5f3bb /elf.h
parentf6548c0a4b751852b9dcb341e3974e049a45a518 (diff)
downloadfocaccia-qemu-3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6.tar.gz
focaccia-qemu-3efa9a672e4a5f7b2d35cf457ea277e997a0f8c6.zip
Avoid name clashes with symbols that leak from system headers
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index b0420029df..11674d75ee 100644
--- a/elf.h
+++ b/elf.h
@@ -454,7 +454,9 @@ typedef struct {
 #define R_PPC_SECTOFF_HI	35
 #define R_PPC_SECTOFF_HA	36
 /* Keep this the last entry.  */
+#ifndef R_PPC_NUM
 #define R_PPC_NUM		37
+#endif
 
 /* ARM specific declarations */