shithub: libvpx

Download patch

ref: 37e7c8a7a8e709b5db8bf43d481db74b45aee1e6
parent: f375eefde10a7b38c70556b6d4e04b4d3c2b2263
parent: aecddea4f9282194831227efe63065085f3a97b1
author: James Zern <jzern@google.com>
date: Thu Dec 20 22:59:14 EST 2018

Merge "vpx_integer.h: remove VPX_EMULATE_INTTYPES"

--- a/vpx/vpx_integer.h
+++ b/vpx/vpx_integer.h
@@ -23,23 +23,8 @@
 #define VPX_INLINE inline
 #endif
 
-#if defined(VPX_EMULATE_INTTYPES)
-typedef signed char int8_t;
-typedef signed short int16_t;
-typedef signed int int32_t;
+/* Assume platforms have the C99 standard integer types. */
 
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-
-#ifndef _UINTPTR_T_DEFINED
-typedef size_t uintptr_t;
-#endif
-
-#else
-
-/* Most platforms have the C99 standard integer types. */
-
 #if defined(__cplusplus)
 #if !defined(__STDC_FORMAT_MACROS)
 #define __STDC_FORMAT_MACROS
@@ -49,10 +34,7 @@
 #endif
 #endif  // __cplusplus
 
-#include <stdint.h>
-
-#endif  // defined(VPX_EMULATE_INTTYPES)
-
 #include <inttypes.h>
+#include <stdint.h>
 
 #endif  // VPX_VPX_VPX_INTEGER_H_