Skip to content

Commit

Permalink
report: remove duplicate TIME_TYPE
Browse files Browse the repository at this point in the history
PR-URL: #26708
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
cjihrig authored and targos committed Mar 27, 2019
1 parent fc0aa50 commit 5b8eae4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/node_report.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/node_report.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5b8eae4

Please sign in to comment.