OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 #define PRIuNS "u" | 66 #define PRIuNS "u" |
67 #endif | 67 #endif |
68 #if !defined(PRIxNS) | 68 #if !defined(PRIxNS) |
69 #define PRIxNS "x" | 69 #define PRIxNS "x" |
70 #endif | 70 #endif |
71 #endif | 71 #endif |
72 #endif // defined(WEBRTC_MAC) | 72 #endif // defined(WEBRTC_MAC) |
73 | 73 |
74 #else // WEBRTC_WIN | 74 #else // WEBRTC_WIN |
75 | 75 |
| 76 #include <inttypes.h> |
| 77 |
76 #if !defined(PRId64) | 78 #if !defined(PRId64) |
77 #define PRId64 "I64d" | 79 #define PRId64 "I64d" |
78 #endif | 80 #endif |
79 | 81 |
80 #if !defined(PRIu64) | 82 #if !defined(PRIu64) |
81 #define PRIu64 "I64u" | 83 #define PRIu64 "I64u" |
82 #endif | 84 #endif |
83 | 85 |
84 #if !defined(PRIx64) | 86 #if !defined(PRIx64) |
85 #define PRIx64 "I64x" | 87 #define PRIx64 "I64x" |
86 #endif | 88 #endif |
87 | 89 |
88 #if !defined(PRIuS) | 90 #if !defined(PRIuS) |
89 #define PRIuS "Iu" | 91 #define PRIuS "Iu" |
90 #endif | 92 #endif |
91 | 93 |
92 #endif | 94 #endif |
93 | 95 |
94 #endif // WEBRTC_BASE_FORMAT_MACROS_H_ | 96 #endif // WEBRTC_BASE_FORMAT_MACROS_H_ |
OLD | NEW |