Skip to content

Commit 9bcf567

Browse files
committed
Typedef for int64
1 parent f963b46 commit 9bcf567

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/Jsrt/ChakraDebug.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@
2222

2323
#include "ChakraCommon.h"
2424

25-
#if (!defined(_WIN32) || !defined(_MSC_VER)) && !defined(__MSTYPES_DEFINED)
26-
typedef uint32_t UINT32;
27-
typedef int64_t INT64;
28-
typedef void* HANDLE;
29-
typedef unsigned char BYTE;
30-
typedef UINT32 DWORD;
25+
#ifdef _WIN32
26+
typedef __int64 int64_t;
3127
#endif
28+
//Other platforms should include <stdint.h> and have this defined automatically
3229

3330
/// <summary>
3431
/// Debug events reported from ChakraCore engine.

0 commit comments

Comments
 (0)