security/manager/android_stub.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/manager/android_stub.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +/* This file allows NSS to build by stubbing out
     1.9 + * features that aren't provided by Android/Bionic */
    1.10 +
    1.11 +#ifndef ANDROID_STUB_H
    1.12 +#define ANDROID_STUB_H
    1.13 +
    1.14 +/* sysinfo is defined but not implemented.
    1.15 + * we may be able to implement it ourselves. */
    1.16 +#define _SYS_SYSINFO_H_
    1.17 +
    1.18 +#include <sys/cdefs.h>
    1.19 +#include <linux/kernel.h>
    1.20 +
    1.21 +#define sysinfo(foo) -1
    1.22 +
    1.23 +#endif /* ANDROID_STUB_H */

mercurial