Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
report: remove duplicate TIME_TYPE
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#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 danbev committed Mar 20, 2019
1 parent a7fdb42 commit d933cc4
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 d933cc4

Please sign in to comment.