File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ static inline void convert_slashes(char *path)
406
406
int mingw_offset_1st_component (const char * path );
407
407
#define offset_1st_component mingw_offset_1st_component
408
408
#define PATH_SEP ';'
409
- #ifndef __MINGW64_VERSION_MAJOR
409
+ #if !defined( __MINGW64_VERSION_MAJOR ) && (!defined( _MSC_VER ) || _MSC_VER < 1800 )
410
410
#define PRIuMAX "I64u"
411
411
#define PRId64 "I64d"
412
412
#else
Original file line number Diff line number Diff line change @@ -45,11 +45,15 @@ typedef unsigned long long uintmax_t;
45
45
46
46
typedef int64_t off64_t ;
47
47
48
+ #if !defined(_MSC_VER ) || _MSC_VER < 1600
48
49
#define INTMAX_MIN _I64_MIN
49
50
#define INTMAX_MAX _I64_MAX
50
51
#define UINTMAX_MAX _UI64_MAX
51
52
52
53
#define UINT32_MAX 0xffffffff /* 4294967295U */
54
+ #else
55
+ #include <stdint.h>
56
+ #endif
53
57
54
58
#define STDIN_FILENO 0
55
59
#define STDOUT_FILENO 1
You can’t perform that action at this time.
0 commit comments