1 /* 2 * Copyright (C) 2005 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /* 18 * Android config -- "Linux". Used for desktop x86 Linux. 19 */ 20 #ifndef _ANDROID_CONFIG_H 21 #define _ANDROID_CONFIG_H 22 23 /* 24 * =========================================================================== 25 * !!! IMPORTANT !!! 26 * =========================================================================== 27 * 28 * This file is included by ALL C/C++ source files. Don't put anything in 29 * here unless you are absolutely certain it can't go anywhere else. 30 * 31 * Any C++ stuff must be wrapped with "#ifdef __cplusplus". Do not use "//" 32 * comments. 33 */ 34 35 /* 36 * We need to choose between 32-bit and 64-bit off_t. All of our code should 37 * agree on the same size. For desktop systems, use 64-bit values, 38 * because some of our libraries (e.g. wxWidgets) expect to be built that way. 39 */ 40 #define _FILE_OFFSET_BITS 64 41 #define _LARGEFILE_SOURCE 1 42 43 /* 44 * Define if we have <malloc.h> header 45 */ 46 #define HAVE_MALLOC_H 1 47 48 /* 49 * The default path separator for the platform 50 */ 51 #define OS_PATH_SEPARATOR '/' 52 53 /* 54 * Define if <stdint.h> exists. 55 */ 56 #define HAVE_STDINT_H 1 57 58 #endif /*_ANDROID_CONFIG_H*/ 59