fix build (gtest 1.6 -> 1.7)
authorPhilip Pronin <philipp@fb.com>
Thu, 14 Aug 2014 07:07:59 +0000 (00:07 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 14 Aug 2014 18:49:04 +0000 (11:49 -0700)
commit4b8e47d6a3e303db0d71e6e931aaf14c4de84b5e
treecbe3209b010ae62c9c551323ff5ed9745b92dac5
parent3ff4b4f4ae7c4bc45c8b6890c4d3c6f09b729527
fix build (gtest 1.6 -> 1.7)

Summary:
D1494614 migrated us to gtest 1.7 which broke multiple builds (with
"error: 'tuple' is already declared in this scope" coming from
https://code.google.com/p/googletest/source/detail?spec=svn621&r=621).
This diff makes folly compatible with both versions of gtest, and the rest
of fbcode is now compatible with gtest 1.7.

Test Plan: fbconfig -r folly unicorn/diskindex4 && fbmake opt -j32

Reviewed By: jiayan@fb.com

Subscribers: fbcode-common-diffs@, chaoyc, search-fbcode-diffs@, sdoroshenko, cold-storage-diffs@, unicorn-diffs@

FB internal diff: D1497389

Tasks: 4909974491054749105674909983
folly/io/test/CompressionTest.cpp
folly/io/test/IOBufTest.cpp