Removing obsolete _NBSD_LIBC define

Change-Id: Ia6ce84ccdf36cf6f64540b990baaa7d85c53533d
This commit is contained in:
2013-02-25 21:06:20 +01:00
parent afa4fd56ac
commit f640210005
64 changed files with 15 additions and 605 deletions

View File

@@ -50,18 +50,11 @@
#error "Unknown byte order"
#endif
#ifdef __NBSD_LIBC
#define CONCAT(x,y) __CONCAT(x,y)
#define __elfN(x) CONCAT(CONCAT(CONCAT(elf,__ELF_WORD_SIZE),_),x)
#define __ElfN(x) CONCAT(CONCAT(CONCAT(Elf,__ELF_WORD_SIZE),_),x)
#define __ELFN(x) CONCAT(CONCAT(CONCAT(ELF,__ELF_WORD_SIZE),_),x)
#define __ElfType(x) typedef __ElfN(x) __CONCAT(Elf_,x)
#else
#define __elfN(x) __CONCAT(__CONCAT(__CONCAT(elf,__ELF_WORD_SIZE),_),x)
#define __ElfN(x) __CONCAT(__CONCAT(__CONCAT(Elf,__ELF_WORD_SIZE),_),x)
#define __ELFN(x) __CONCAT(__CONCAT(__CONCAT(ELF,__ELF_WORD_SIZE),_),x)
#define __ElfType(x) typedef __ElfN(x) __CONCAT(Elf_,x)
#endif
__ElfType(Addr);
__ElfType(Half);