src: Only use TR1 type_traits on OSX<10.9 · nodejs/node@63c62cc · GitHub
Skip to content

Commit 63c62cc

Browse files
Ehsan Akhgaricjihrig
authored andcommitted
src: Only use TR1 type_traits on OSX<10.9
Mac OSX 10.9 has switched to using libc++ by default. libc++ provides a C++11 <type_traits> implementation, so we only need to use the TR1 version when targetting OSX 10.8 or 10.7. PR-URL: #7778 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 8f51e36 commit 63c62cc

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/util.h

Lines changed: 7 additions & 2 deletions

0 commit comments

Comments
 (0)