From 9d2a05a6dda800d0f1fcb1d9ffe12bc3b82c0f73 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 28 Jul 2014 16:16:38 -0700 Subject: [PATCH] Revert "Add a hack to until we can fix libvpx." This reverts commit 3fb5097a7eec40404760c304b36c8b657b374cab. libvpx is now fixed. (cherry-pick of 2be1be47aa9b63568fe6ce1e0a4029b37d90764d.) Bug: 15598056 Change-Id: Icca974e667f92206505f484bd291726eb0150f68 --- libc/include/stdlib.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 984ceb334..a5eb3d15b 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -111,12 +111,6 @@ void arc4random_buf(void*, size_t); #define RAND_MAX 0x7fffffff -/* 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 - int rand(void); int rand_r(unsigned int*); void srand(unsigned int);