Merge "Add a hack to <stdlib.h> until we can fix libvpx."
This commit is contained in:
commit
ff17671bc6
@ -106,6 +106,12 @@ 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)
|
||||
#undef rand
|
||||
#define __rand lrand48
|
||||
#endif
|
||||
|
||||
int rand(void);
|
||||
int rand_r(unsigned int*);
|
||||
void srand(unsigned int);
|
||||
|
Loading…
x
Reference in New Issue
Block a user