[llvm-commits] [llvm] r72148 - /llvm/trunk/include/llvm/System/Atomic.h

Chris Lattner clattner at apple.com
Fri May 22 12:56:35 PDT 2009


On May 21, 2009, at 3:32 AM, Török Edwin wrote:

> On 2009-05-20 23:36, Chris Lattner wrote:
>> On May 19, 2009, at 5:31 PM, Owen Anderson wrote:
>>
>>> Author: resistor
>>> Date: Tue May 19 19:31:29 2009
>>> New Revision: 72148
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=72148&view=rev
>>> Log:
>>> We need to include config.h here so that the #defines are set
>>> properly.
>>>
>>
>> This isn't going to work: LLVM headers can't include config.h,  
>> because
>> it conflicts with other projects that use their own config.h.
>
> How about renaming config.h to llvm-config.h?
> Autoconf supports that.

That won't help, because the HAVE_FOO macros conflict.

-Chris



More information about the llvm-commits mailing list