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

Unified Diff: libvpx/include/vpx/vpx_integer.h

Issue 7624054: Revert r97185 "Update libvpx snapshot to v0.9.7-p1 (Cayuga)." (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libvpx/include/vpx/vpx_encoder.h ('k') | libvpx/lib/linux/arm-neon/libvpx.a » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx/include/vpx/vpx_integer.h
diff --git a/libvpx/include/vpx/vpx_integer.h b/libvpx/include/vpx/vpx_integer.h
index 608760f8bb4acc5f4771da053eb1e1aecd2f2478..9a06c1ac395a89291399d3e2bf74ffe96eecb940 100644
--- a/libvpx/include/vpx/vpx_integer.h
+++ b/libvpx/include/vpx/vpx_integer.h
@@ -15,7 +15,7 @@
/* get ptrdiff_t, size_t, wchar_t, NULL */
#include <stddef.h>
-#if (defined(_MSC_VER) && (_MSC_VER < 1600)) || defined(VPX_EMULATE_INTTYPES)
+#if defined(_MSC_VER) || defined(VPX_EMULATE_INTTYPES)
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
@@ -24,9 +24,10 @@ typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
-#if (defined(_MSC_VER) && (_MSC_VER < 1600))
+#if defined(_MSC_VER)
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
+#define PRId64 "I64d"
#endif
#ifdef HAVE_ARMV6
@@ -49,14 +50,8 @@ typedef unsigned int uintptr_t;
#define __STDC_FORMAT_MACROS
#endif
#include <stdint.h>
-
-#endif
-
-/* VS2010 defines stdint.h, but not inttypes.h */
-#if defined(_MSC_VER)
-#define PRId64 "I64d"
-#else
#include <inttypes.h>
+
#endif
#endif
« no previous file with comments | « libvpx/include/vpx/vpx_encoder.h ('k') | libvpx/lib/linux/arm-neon/libvpx.a » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698