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::Mutex;
|
||||||
using node::NativeSymbolDebuggingContext;
|
using node::NativeSymbolDebuggingContext;
|
||||||
using node::PerIsolateOptions;
|
using node::PerIsolateOptions;
|
||||||
|
using node::TIME_TYPE;
|
||||||
using v8::HeapSpaceStatistics;
|
using v8::HeapSpaceStatistics;
|
||||||
using v8::HeapStatistics;
|
using v8::HeapStatistics;
|
||||||
using v8::Isolate;
|
using v8::Isolate;
|
||||||
|
@ -30,10 +30,8 @@
|
|||||||
namespace report {
|
namespace report {
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
typedef SYSTEMTIME TIME_TYPE;
|
|
||||||
#define PATHSEP "\\"
|
#define PATHSEP "\\"
|
||||||
#else // UNIX, OSX
|
#else // UNIX, OSX
|
||||||
typedef struct tm TIME_TYPE;
|
|
||||||
#define PATHSEP "/"
|
#define PATHSEP "/"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user