mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
14 lines
394 B
C
14 lines
394 B
C
/* Copyright 2014 The Chromium Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
|
|
/* The newlib-based PNaCl toolchain does not provide random(). So, here we
|
|
* define it. It just redirects to the rand(), which is provided by the
|
|
* toolchain. */
|
|
long int random() {
|
|
return rand();
|
|
}
|