am a335c869: am 0f690d9e: Merge "Fix x86-64 libvpx build."

* commit 'a335c869748b133c661cc1efff3028984ee9f7aa':
  Fix x86-64 libvpx build.
This commit is contained in:
Elliott Hughes 2014-06-13 10:24:38 +00:00 committed by Android Git Automerger
commit 773b85eff8

View File

@ -106,8 +106,8 @@ extern void arc4random_addrandom(unsigned char *, int);
#define RAND_MAX 0x7fffffff
/* Work around x86 libvpx build breakage caused by postproc_x86.c. */
#if defined(__i386__) && defined(rand)
/* Work around x86/x86-64 libvpx build breakage caused by postproc_x86.c. */
#if (defined(__i386__) || defined(__x86_64__)) && defined(rand)
#undef rand
#define __rand lrand48
#endif