Fix GlogFormatterTest on Windows
authorChristopher Dykes <cdykes@fb.com>
Fri, 23 Jun 2017 02:55:36 +0000 (19:55 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 23 Jun 2017 03:08:43 +0000 (20:08 -0700)
commit297d72d1ee6b5b8e70a6f61224f44b275e155bc3
treeba6e07ab122cad566b5bc7df1d094be7edc222fc
parent59e47de8ba65dc1bfcb96fffbac8ffeb43c101db
Fix GlogFormatterTest on Windows

Summary:
It was missing a portability header needed for `setenv`, and was assuming that the `system_clock` was represented as nanoseconds.
On Windows `std::chrono::system_clock` is represented as 100s of nanoseconds, ie. `FILETIME`.

Reviewed By: simpkins

Differential Revision: D5308182

fbshipit-source-id: facb922ebe1587723358b38499dadac683e3517b
folly/experimental/logging/test/GlogFormatterTest.cpp