[libcxx] r201864 - Fix historical #ifdef. Use __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ when compiling with clang. No functionality change.
Marshall Clow
mclow.lists at gmail.com
Fri Feb 21 16:36:49 PST 2014
On Feb 21, 2014, at 1:39 PM, Juergen Ributzka <juergen at apple.com> wrote:
> I reverted this in r201892, because it broke our build.
Good call.
I will try again when I’m not half asleep.
— Marshall
>
> On Feb 21, 2014, at 10:30 AM, Benjamin Kramer <benny.kra at gmail.com> wrote:
>
>>
>> On 21.02.2014, at 19:07, Marshall Clow <mclow.lists at gmail.com> wrote:
>>
>>> Author: marshall
>>> Date: Fri Feb 21 12:07:52 2014
>>> New Revision: 201864
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=201864&view=rev
>>> Log:
>>> Fix historical #ifdef. Use __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ when compiling with clang. No functionality change.
>>>
>>> Modified:
>>> libcxx/trunk/include/__config
>>>
>>> Modified: libcxx/trunk/include/__config
>>> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=201864&r1=201863&r2=201864&view=diff
>>> ==============================================================================
>>> --- libcxx/trunk/include/__config (original)
>>> +++ libcxx/trunk/include/__config Fri Feb 21 12:07:52 2014
>>> @@ -215,7 +215,7 @@
>>> #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
>>> #endif
>>>
>>> -#ifndef __GXX_EXPERIMENTAL_CXX0X__
>>> +#ifndef __cplusplus >= 201103L
>>
>> #ifndef with a relational operator?
>>
>> - Ben
>>
>>> #ifdef __linux__
>>> #define _LIBCPP_HAS_NO_UNICODE_CHARS
>>> #else
>>>
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140221/a1cb3671/attachment.html>
More information about the cfe-commits
mailing list