From: Fariborz Jahanian Date: Wed, 16 Apr 2014 17:03:06 +0000 (+0000) Subject: Objective-C rewriter. Use _WIN64 instead of __LLP64__ X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8187c75374e212fd8131a0fb69531d1721297517;p=clang 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 --- 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";