From 5b8eae4ea701d706119c6aa0a048ec129c491dc2 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sat, 16 Mar 2019 15:40:37 -0400 Subject: [PATCH] report: remove duplicate TIME_TYPE PR-URL: https://github.com/nodejs/node/pull/26708 Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau Reviewed-By: James M Snell --- src/node_report.cc | 1 + src/node_report.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/node_report.cc b/src/node_report.cc index cbb9c219a202aa..00d6a2454c6533 100644 --- a/src/node_report.cc +++ b/src/node_report.cc @@ -33,6 +33,7 @@ using node::Environment; using node::Mutex; using node::NativeSymbolDebuggingContext; using node::PerIsolateOptions; +using node::TIME_TYPE; using v8::HeapSpaceStatistics; using v8::HeapStatistics; using v8::Isolate; diff --git a/src/node_report.h b/src/node_report.h index 9ba45053996827..5ae041b9fe9267 100644 --- a/src/node_report.h +++ b/src/node_report.h @@ -30,10 +30,8 @@ namespace report { #ifdef _WIN32 -typedef SYSTEMTIME TIME_TYPE; #define PATHSEP "\\" #else // UNIX, OSX -typedef struct tm TIME_TYPE; #define PATHSEP "/" #endif