Delete shim of PRId64 et al. on Windows
It should be present since MSVC 2013.
This is a port of https://chromium.googlesource.com/chromium/src/+/08e78a473347675ec61a15c3fc5f297dcf6e09f1
Bug: webrtc:10852
Change-Id: Ie65fc74e11597e91aefacc13539218e3a5d7502f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148443
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28805}
diff --git a/rtc_base/format_macros.h b/rtc_base/format_macros.h
index 998f5fe..83240fb 100644
--- a/rtc_base/format_macros.h
+++ b/rtc_base/format_macros.h
@@ -45,20 +45,8 @@
#include <inttypes.h>
-// These are being defined without the RTC_ prefix because this is just filling
-// the holes from what's supposed to be already present as part of the C
-// standard, but missing on older MSVC versions.
-
-#if !defined(PRId64)
-#define PRId64 "I64d"
-#endif
-
-#if !defined(PRIu64)
-#define PRIu64 "I64u"
-#endif
-
-#if !defined(PRIx64)
-#define PRIx64 "I64x"
+#if !defined(PRId64) || !defined(PRIu64) || !defined(PRIx64)
+#error "inttypes.h provided by win toolchain should define these."
#endif
// PRI*64 were added in MSVC 2013, while "%zu" is supported since MSVC 2015