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:
parent
a7fdb42c1a
commit
d933cc4b02
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user