Commit ee3f3c23 authored by Max Lv's avatar Max Lv

fix for clang

parent 6ac90abb
APP_ABI := armeabi-v7a x86
APP_PLATFORM := android-16
APP_STL := stlport_static
NDK_TOOLCHAIN_VERSION := 4.9
NDK_TOOLCHAIN_VERSION := clang
......@@ -59,7 +59,8 @@ static void
ev_arc4random_buf(void *buf, size_t n)
{
#if defined(_EVENT_HAVE_ARC4RANDOM_BUF) && !defined(__APPLE__)
return arc4random_buf(buf, n);
arc4random_buf(buf, n);
return;
#else
unsigned char *b = buf;
......@@ -71,7 +72,8 @@ ev_arc4random_buf(void *buf, size_t n)
* trickery.)
*/
if (arc4random_buf != NULL) {
return arc4random_buf(buf, n);
arc4random_buf(buf, n);
return;
}
#endif
/* Make sure that we start out with b at a 4-byte alignment; plenty
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment