runtime: make LLP64 clean

This is a blanket pass replacing use of `__LP64__` with
`__POINTER_WIDTH__ == 64`.  The latter is more expressive and also LLP64
clean.  This change is needed to enable support for Windows x86_64 which
is a LLP64 environment.
This commit is contained in:
Saleem Abdulrasool
2017-09-17 16:26:18 -07:00
parent 74183c4016
commit 635bb00d61
6 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@
using namespace std;
using namespace llvm;
#ifdef __LP64__
#if __POINTER_WIDTH__ == 64
#define ELFCLASS ELFCLASS64
typedef Elf64_Ehdr Elf_Ehdr;
typedef Elf64_Shdr Elf_Shdr;