Define _GNU_SOURCE for rtems c++
authorJames Y Knight <jyknight@google.com>
Wed, 14 Jun 2017 17:01:18 +0000 (17:01 +0000)
committerJames Y Knight <jyknight@google.com>
Wed, 14 Jun 2017 17:01:18 +0000 (17:01 +0000)
commit02b0e9d97a8d0a519dcb386e7162f3bcbaef3f48
tree6c11d8e3f0fd2b126a0b48ea3276e5fbdfd04f33
parentce0b99563a6fb1299ef6052138fb0f773539e1e4
Define _GNU_SOURCE for rtems c++

This is required by the libc++ locale support.

Patch by Walter Lee.

Differential Revision: https://reviews.llvm.org/D34105

llvm-svn: 305399
clang/lib/Basic/Targets.cpp
clang/test/Preprocessor/init.c