OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM 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 30 matching lines...) Expand all Loading... |
41 /* Most platforms have the C99 standard integer types. */ | 41 /* Most platforms have the C99 standard integer types. */ |
42 | 42 |
43 #if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS) | 43 #if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS) |
44 #define __STDC_FORMAT_MACROS | 44 #define __STDC_FORMAT_MACROS |
45 #endif | 45 #endif |
46 #include <stdint.h> | 46 #include <stdint.h> |
47 | 47 |
48 #endif | 48 #endif |
49 | 49 |
50 /* VS2010 defines stdint.h, but not inttypes.h */ | 50 /* VS2010 defines stdint.h, but not inttypes.h */ |
51 #if defined(_MSC_VER) | 51 #if defined(_MSC_VER) && _MSC_VER < 1800 |
52 #define PRId64 "I64d" | 52 #define PRId64 "I64d" |
53 #else | 53 #else |
54 #include <inttypes.h> | 54 #include <inttypes.h> |
55 #endif | 55 #endif |
56 | 56 |
57 #endif // VPX_VPX_INTEGER_H_ | 57 #endif // VPX_VPX_INTEGER_H_ |
OLD | NEW |