0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

report: remove duplicate TIME_TYPE

PR-URL: https://github.com/nodejs/node/pull/26708
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
cjihrig 2019-03-16 15:40:37 -04:00 committed by Daniel Bevenius
parent a7fdb42c1a
commit d933cc4b02
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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