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

Commit 34d58ce

Browse files
Ehsan Akhgariaddaleax
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 dee0e3a commit 34d58ce

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)