Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit fa93094

Browse files
committed
Backed out changeset ccf9a31fe40d (bug 1284803)
1 parent 1e7d1b9 commit fa93094

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

media/libyuv/include/libyuv/basic_types.h

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,11 @@
1313

1414
#include <stddef.h> // for NULL, size_t
1515

16-
#if !(defined(_MSC_VER) && (_MSC_VER < 1600))
17-
#include <stdint.h> // for uintptr_t
18-
#endif
19-
20-
typedef uint64_t uint64;
21-
typedef int64_t int64;
22-
#if defined(_MSC_VER)
23-
// nsprpub/pr/include/obsolete/protypes.h defines these weirdly
24-
typedef long int32;
25-
typedef unsigned long uint32;
16+
#if defined(__ANDROID__) || (defined(_MSC_VER) && (_MSC_VER < 1600))
17+
#include <sys/types.h> // for uintptr_t on x86
2618
#else
27-
typedef uint32_t uint32;
28-
typedef int32_t int32;
19+
#include <stdint.h> // for uintptr_t
2920
#endif
30-
typedef uint16_t uint16;
31-
typedef int16_t int16;
32-
typedef uint8_t uint8;
33-
typedef int8_t int8;
34-
#define INT_TYPES_DEFINED 1
3521

3622
#ifndef GG_LONGLONG
3723
#ifndef INT_TYPES_DEFINED

0 commit comments

Comments
 (0)