summaryrefslogtreecommitdiffstats
path: root/ninja/src/win32port.h
diff options
context:
space:
mode:
Diffstat (limited to 'ninja/src/win32port.h')
-rw-r--r--ninja/src/win32port.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ninja/src/win32port.h b/ninja/src/win32port.h
index e542536cc76..ce3c9498e5d 100644
--- a/ninja/src/win32port.h
+++ b/ninja/src/win32port.h
@@ -15,13 +15,6 @@
#ifndef NINJA_WIN32PORT_H_
#define NINJA_WIN32PORT_H_
-#if defined(__MINGW32__) || defined(__MINGW64__)
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS
-#endif
-#include <inttypes.h>
-#endif
-
typedef signed short int16_t;
typedef unsigned short uint16_t;
/// A 64-bit integer type
@@ -30,7 +23,6 @@ typedef unsigned long long uint64_t;
// printf format specifier for uint64_t, from C99.
#ifndef PRIu64
-#define PRId64 "I64d"
#define PRIu64 "I64u"
#define PRIx64 "I64x"
#endif