summaryrefslogtreecommitdiff
path: root/libcpp/line-map.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-08-08 16:16:43 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-08-08 16:16:43 +0100
commita801991954f70fb9470502d305065719849c5660 (patch)
tree6140734fa914c13ae1a56deaea9d7838f55e0cdb /libcpp/line-map.c
parent8e09a12f016e53f1edadc10db22806937d3b8894 (diff)
downloadgcc-a801991954f70fb9470502d305065719849c5660.tar.gz
Prevent internal aligned_alloc clashing with libc version
If configure fails to detect aligned_alloc we will try to define our own in new_opa.cc but that could clash with the libcversion in <stdlib.h>. Use a namespace to keep them distinct. * libsupc++/new_opa.cc (aligned_alloc): Declare inside namespace to avoid clashing with an ::aligned_alloc function that was not detected by configure. From-SVN: r263409
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions