Index: compat/win/time.h |
diff --git a/test/thread.cc b/compat/win/time.h |
similarity index 71% |
copy from test/thread.cc |
copy to compat/win/time.h |
index baeeafa632152c4edd71aa04be6a4d32a0824d2e..78cf67fa99fd4622039e6e390eef1bb2807c4bb5 100644 |
--- a/test/thread.cc |
+++ b/compat/win/time.h |
@@ -12,19 +12,13 @@ |
// See the License for the specific language governing permissions and |
// limitations under the License. |
-#include "test/thread.h" |
+#ifndef CRASHPAD_COMPAT_WIN_TIME_H_ |
+#define CRASHPAD_COMPAT_WIN_TIME_H_ |
-#include "gtest/gtest.h" |
+#include <../include/time.h> |
-namespace crashpad { |
-namespace test { |
+const char *strptime(const char* buf, const char* format, struct tm* tm); |
-Thread::Thread() : platform_thread_(0) { |
-} |
+time_t timegm(struct tm* tm); |
-Thread::~Thread() { |
- EXPECT_FALSE(platform_thread_); |
-} |
- |
-} // namespace test |
-} // namespace crashpad |
+#endif // CRASHPAD_COMPAT_WIN_TIME_H_ |