summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ae3c6af)
raw | patch | inline | side by side (parent: ae3c6af)
author | Elliott Hughes <enh@google.com> | |
Fri, 13 Jun 2014 03:07:47 +0000 (20:07 -0700) | ||
committer | Elliott Hughes <enh@google.com> | |
Fri, 13 Jun 2014 03:07:47 +0000 (20:07 -0700) |
This is now fixed upstream, but we need to wait for it to come back down
via chromium...
Bug: 15598056
Change-Id: I08f1be4296c391cfc1616a5ff0815be14071594a
via chromium...
Bug: 15598056
Change-Id: I08f1be4296c391cfc1616a5ff0815be14071594a
libc/include/stdlib.h | patch | blob | history |
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h
index 239f18696b4882a70fb7046590de1b76292ec0a2..266aa5e78b9a77e5e6d003e764d64ea7a0d70aba 100644 (file)
--- a/libc/include/stdlib.h
+++ b/libc/include/stdlib.h
#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