[PATCH] [lld] Rename variable to avoid system header conflict

Shankar Easwaran shankare at codeaurora.org
Fri Jun 20 08:48:05 PDT 2014


I think the right place to put this is in PECOFFLinkingContext and have 
a virtual function getPageSize() similar to ELF.

On 6/20/2014 3:20 AM, Tim Northover wrote:
> Hi,
>
> I've started poking around with lld, and noticed that it doesn't build
> on OS X at the moment because the PAGE_SIZE variable conflicts with a
> predefine in one of the system headers (pulled in via pthreads.h, by
> the looks of it).
>
> The attached patch renames it to X86_PAGE_SIZE to avoid this. Is it OK
> to commit?
>
> Cheers.
>
> Tim.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/e6b0cef1/attachment.html>


More information about the llvm-commits mailing list