mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user