1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef RTC_BASE_FORMAT_MACROS_H_
- #define RTC_BASE_FORMAT_MACROS_H_
- #if defined(WEBRTC_POSIX)
- #if (defined(_INTTYPES_H) || defined(_INTTYPES_H_)) && !defined(PRId64)
- #error "inttypes.h has already been included before this header file, but "
- #error "without __STDC_FORMAT_MACROS defined."
- #endif
- #if !defined(__STDC_FORMAT_MACROS)
- #define __STDC_FORMAT_MACROS
- #endif
- #include <inttypes.h>
- #include "rtc_base/system/arch.h"
- #define RTC_PRIuS "zu"
- #else
- #include <inttypes.h>
- #if !defined(PRId64) || !defined(PRIu64) || !defined(PRIx64)
- #error "inttypes.h provided by win toolchain should define these."
- #endif
- #define RTC_PRIuS "Iu"
- #endif
- #endif
|