diff --git a/rtc_base/format_macros.h b/rtc_base/format_macros.h index 7252f2ea74..0466770de5 100644 --- a/rtc_base/format_macros.h +++ b/rtc_base/format_macros.h @@ -43,34 +43,6 @@ #define PRIuS "zu" #endif -// The size of NSInteger and NSUInteger varies between 32-bit and 64-bit -// architectures and Apple does not provides standard format macros and -// recommends casting. This has many drawbacks, so instead define macros -// for formatting those types. -#if defined(WEBRTC_MAC) -#if defined(WEBRTC_ARCH_64_BITS) -#if !defined(PRIdNS) -#define PRIdNS "ld" -#endif -#if !defined(PRIuNS) -#define PRIuNS "lu" -#endif -#if !defined(PRIxNS) -#define PRIxNS "lx" -#endif -#else // defined(WEBRTC_ARCH_64_BITS) -#if !defined(PRIdNS) -#define PRIdNS "d" -#endif -#if !defined(PRIuNS) -#define PRIuNS "u" -#endif -#if !defined(PRIxNS) -#define PRIxNS "x" -#endif -#endif -#endif // defined(WEBRTC_MAC) - #else // WEBRTC_WIN #include