gecko/media/libvpx/stdint.patch
Ralph Giles 1d6f1c30da Bug 1063356 - Update libvpx update script. r=kinetik
There have been releases. Bump to the git commit used by the
most recent chrome pull: d95585fb0ec024f6abd96f7b02e0df58019d46af.

This patch contains changes to the update script necessary to
build the new snapshot and removes upstreamed patches.

It's no longer possible to build vp8 and vp9 in the same unified
source file, so most of the vp9 code is moved to standalone sources.
2014-09-24 20:30:00 -07:00

21 lines
528 B
Diff

--- vpx/vpx_integer.h- 2014-09-17 15:49:58.000000000 -0700
+++ vpx/vpx_integer.h 2014-09-17 15:52:59.000000000 -0700
@@ -15,6 +15,8 @@
/* get ptrdiff_t, size_t, wchar_t, NULL */
#include <stddef.h>
+#if !defined(VPX_DONT_DEFINE_STDINT_TYPES)
+
#if defined(_MSC_VER)
#define VPX_FORCE_INLINE __forceinline
#define VPX_INLINE __inline
@@ -56,6 +58,8 @@
#endif
+#endif // VPX_DONT_DEFINE_STDINT_TYPES
+
/* VS2010 defines stdint.h, but not inttypes.h */
#if defined(_MSC_VER) && _MSC_VER < 1800
#define PRId64 "I64d"