Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# osclconfig_lib.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00003
    00004 //     O S C L C O N F I G _ L I B  ( P L A T F O R M   C O N F I G   I N F O )
    00005
    00006 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00007
    00008
    00014 #ifndef OSCLCONFIG_LIB_H_INCLUDED
    00015 #define OSCLCONFIG_LIB_H_INCLUDED
    00016
    00017
    00018
    00019 //Set this to 1 to indicate this platform has oscllib support
    00020 #define OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT    1
    00021 #define PV_RUNTIME_LIB_FILENAME_EXTENSION "so"
    00022
    00023 //Set this to 1 to enable looking for debug versions of libraries.
    00024 //Use #ifndef to allow the compiler setting to override this definition
    00025 #ifndef OSCL_LIB_READ_DEBUG_LIBS
    00026 #if (OSCL_RELEASE_BUILD)
    00027 #define OSCL_LIB_READ_DEBUG_LIBS 0
    00028 #else
    00029 #define OSCL_LIB_READ_DEBUG_LIBS 1
    00030 #endif
    00031 #endif
    00032
    00033 // The path recursively from which the config files are picked up
    00034 #ifndef PV_DYNAMIC_LOADING_CONFIG_FILE_PATH
    00035 #ifdef ANDROID
    00036 #define PV_DYNAMIC_LOADING_CONFIG_FILE_PATH "/system/etc"
    00037 #else
    00038 #define PV_DYNAMIC_LOADING_CONFIG_FILE_PATH "./"
    00039 #endif
    00040 #endif
    00041
    00042 // check all osclconfig required macros are defined
    00043 #include "osclconfig_lib_check.h"
    00044
    00045 #endif // OSCLCONFIG_LIB_H_INCLUDED
    00046