1636196438180fd37027bf7b7119a436169b6923eChristopher Ferris/*
2636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * Copyright (C) 2014 The Android Open Source Project
3636196438180fd37027bf7b7119a436169b6923eChristopher Ferris *
4636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * Licensed under the Apache License, Version 2.0 (the "License");
5636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * you may not use this file except in compliance with the License.
6636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * You may obtain a copy of the License at
7636196438180fd37027bf7b7119a436169b6923eChristopher Ferris *
8636196438180fd37027bf7b7119a436169b6923eChristopher Ferris *      http://www.apache.org/licenses/LICENSE-2.0
9636196438180fd37027bf7b7119a436169b6923eChristopher Ferris *
10636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * Unless required by applicable law or agreed to in writing, software
11636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * distributed under the License is distributed on an "AS IS" BASIS,
12636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * See the License for the specific language governing permissions and
14636196438180fd37027bf7b7119a436169b6923eChristopher Ferris * limitations under the License.
15636196438180fd37027bf7b7119a436169b6923eChristopher Ferris */
16636196438180fd37027bf7b7119a436169b6923eChristopher Ferris
17636196438180fd37027bf7b7119a436169b6923eChristopher Ferris#ifndef _BIONIC_CONFIG_H_
18636196438180fd37027bf7b7119a436169b6923eChristopher Ferris#define _BIONIC_CONFIG_H_
19636196438180fd37027bf7b7119a436169b6923eChristopher Ferris
20636196438180fd37027bf7b7119a436169b6923eChristopher Ferris// valloc(3) and pvalloc(3) were removed from POSIX 2004. We do not include them
21636196438180fd37027bf7b7119a436169b6923eChristopher Ferris// for LP64, but the symbols remain in LP32 for binary compatibility.
22636196438180fd37027bf7b7119a436169b6923eChristopher Ferris#if !defined(__LP64__)
23636196438180fd37027bf7b7119a436169b6923eChristopher Ferris#define HAVE_DEPRECATED_MALLOC_FUNCS 1
24636196438180fd37027bf7b7119a436169b6923eChristopher Ferris#endif
25636196438180fd37027bf7b7119a436169b6923eChristopher Ferris
26636196438180fd37027bf7b7119a436169b6923eChristopher Ferris#endif // _BIONIC_CONFIG_H_
27