Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: include/libyuv/basic_types.h

Issue 2269793002: Change basic_types.h for fixing build failure (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | include/libyuv/version.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2011 The LibYuv 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
11 #ifndef INCLUDE_LIBYUV_BASIC_TYPES_H_ // NOLINT 11 #ifndef INCLUDE_LIBYUV_BASIC_TYPES_H_ // NOLINT
12 #define INCLUDE_LIBYUV_BASIC_TYPES_H_ 12 #define INCLUDE_LIBYUV_BASIC_TYPES_H_
13 13
14 #include <stddef.h> // for NULL, size_t 14 #include <stddef.h> // for NULL, size_t
15 15
16 #if defined(__ANDROID__) || (defined(_MSC_VER) && (_MSC_VER < 1600)) 16 #if defined(_MSC_VER) && (_MSC_VER < 1600)
17 #include <sys/types.h> // for uintptr_t on x86 17 #include <sys/types.h> // for uintptr_t on x86
18 #else 18 #else
19 #include <stdint.h> // for uintptr_t 19 #include <stdint.h> // for uintptr_t
20 #endif 20 #endif
21 21
22 #ifndef GG_LONGLONG 22 #ifndef GG_LONGLONG
23 #ifndef INT_TYPES_DEFINED 23 #ifndef INT_TYPES_DEFINED
24 #define INT_TYPES_DEFINED 24 #define INT_TYPES_DEFINED
25 #ifdef COMPILER_MSVC 25 #ifdef COMPILER_MSVC
26 typedef unsigned __int64 uint64; 26 typedef unsigned __int64 uint64;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // Visual C x86 or GCC little endian. 110 // Visual C x86 or GCC little endian.
111 #if defined(__x86_64__) || defined(_M_X64) || \ 111 #if defined(__x86_64__) || defined(_M_X64) || \
112 defined(__i386__) || defined(_M_IX86) || \ 112 defined(__i386__) || defined(_M_IX86) || \
113 defined(__arm__) || defined(_M_ARM) || \ 113 defined(__arm__) || defined(_M_ARM) || \
114 (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) 114 (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
115 #define LIBYUV_LITTLE_ENDIAN 115 #define LIBYUV_LITTLE_ENDIAN
116 #endif 116 #endif
117 117
118 #endif // INCLUDE_LIBYUV_BASIC_TYPES_H_ NOLINT 118 #endif // INCLUDE_LIBYUV_BASIC_TYPES_H_ NOLINT
OLDNEW
« no previous file with comments | « README.chromium ('k') | include/libyuv/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698