[libc++] Make sure we only consider _GNUC_VER_NEW when the compiler is GCC
authorLouis Dionne <ldionne@apple.com>
Wed, 22 Jul 2020 19:59:09 +0000 (15:59 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 22 Jul 2020 20:08:19 +0000 (16:08 -0400)
commit9798b2311f7f5b06e0a377613b3e90ed34d5d9c1
tree745d5a1ab635c08a83a75dc6ea39a6c440fb6c4e
parent111a018b3638ff73dea24fb357df871eafb047e6
[libc++] Make sure we only consider _GNUC_VER_NEW when the compiler is GCC

When the compiler is Clang, _GNUC_VER_NEW is 0, which messes up the logic.
libcxx/include/variant