michael@0: /* michael@0: * Copyright (c) 2012 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: michael@0: /* On Android NDK, rand is inlined function, but postproc needs rand symbol */ michael@0: #if defined(__ANDROID__) michael@0: #define rand __rand michael@0: #include michael@0: #undef rand michael@0: michael@0: extern int rand(void) michael@0: { michael@0: return __rand(); michael@0: } michael@0: #else michael@0: /* ISO C forbids an empty translation unit. */ michael@0: int vp8_unused; michael@0: #endif