Fix detection of std::make_unique under MSVC
authorChristopher Dykes <cdykes@fb.com>
Tue, 10 May 2016 00:15:22 +0000 (17:15 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Tue, 10 May 2016 00:20:23 +0000 (17:20 -0700)
commitd65a097e5978abb69522a193c351f818be368d06
tree50730ba3852af9cb36286f97de952967a7ab407e
parent70cab78c531e298fe76a7f05045231b6615cd912
Fix detection of std::make_unique under MSVC

Summary: MSVC doesn't define `__cplusplus` as a high enough value to trigger this, so add an explicit check for MSVC instead.

Reviewed By: yfeldblum

Differential Revision: D3271647

fbshipit-source-id: a1e5a5a7eb75dce066dfc7fae8b2086880dc4c3d
folly/Memory.h