From 8187c75374e212fd8131a0fb69531d1721297517 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 16 Apr 2014 17:03:06 +0000 Subject: [PATCH] Objective-C rewriter. Use _WIN64 instead of __LLP64__ to conditinalize on 64bit length in a generated meta-data. // rdar://16489050 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206402 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Rewrite/Frontend/RewriteModernObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Rewrite/Frontend/RewriteModernObjC.cpp b/lib/Rewrite/Frontend/RewriteModernObjC.cpp index 9066a5fdcb..65a5dc5162 100644 --- a/lib/Rewrite/Frontend/RewriteModernObjC.cpp +++ b/lib/Rewrite/Frontend/RewriteModernObjC.cpp @@ -6108,7 +6108,7 @@ void RewriteModernObjC::Initialize(ASTContext &context) { Preamble += " int *isa;\n"; Preamble += " int flags;\n"; Preamble += " char *str;\n"; - Preamble += "#if __LLP64__\n"; + Preamble += "#if _WIN64\n"; Preamble += " long long length;\n"; Preamble += "#else\n"; Preamble += " long length;\n"; -- 2.40.0