From: Michael Lee Date: Fri, 29 Jan 2016 18:32:31 +0000 (-0800) Subject: Handle tmp dir on Android X-Git-Tag: deprecate-dynamic-initializer~121 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6ea3164ec9ac72d6411abc4a08b1ba34b7550e50;p=folly.git Handle tmp dir on Android Summary: There is no universally accessible tmpdir on Android which means mkstemp fails. This diff calls a function that the test runner should provide to fill a valid temporary directory. Reviewed By: yangchi Differential Revision: D2842034 fb-gh-sync-id: 9b826757bd750af016a18adccd5a21174be644d6 --- diff --git a/folly/test/FBStringTest.cpp b/folly/test/FBStringTest.cpp index d9b5948f..78d6514a 100644 --- a/folly/test/FBStringTest.cpp +++ b/folly/test/FBStringTest.cpp @@ -33,6 +33,7 @@ #include #include #include +#include using namespace std; using namespace folly;