1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 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 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 19 #ifndef OSCLCONFIG_LIB_CHECK_H_INCLUDED 20 #define OSCLCONFIG_LIB_CHECK_H_INCLUDED 21 22 /*! \addtogroup osclconfig OSCL config 23 * 24 * @{ 25 */ 26 27 28 29 /** 30 OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT should be set to 1 if the platform has basic explicit runtime DLL loading support. 31 */ 32 #if !defined(OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT ) 33 #error "ERROR: OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT must be defined to 0 or 1" 34 #endif 35 36 #if(OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT) 37 /** 38 ** When OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT is 1, 39 ** OSCL_LIB_READ_DEBUG_LIBS should be set to 0 or 1. Set to 1 to enable loading 40 ** debug versions of libs. 41 */ 42 #if !defined(OSCL_LIB_READ_DEBUG_LIBS) 43 #error "ERROR: OSCL_LIB_READ_DEBUG_LIBS must be defined to 0 or 1" 44 #endif 45 46 /* 47 ** When OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT is 1, 48 ** PV_DYNAMIC_LOADING_CONFIG_FILE_PATH should be set. 49 */ 50 #if !defined(PV_DYNAMIC_LOADING_CONFIG_FILE_PATH) 51 #error "ERROR: PV_DYNAMIC_LOADING_CONFIG_FILE_PATH must be set to a path where the config files are expected to be present" 52 #endif 53 54 /* 55 ** When OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT is 1, 56 ** PV_RUNTIME_LIB_FILENAME_EXTENSION should be set. 57 */ 58 #if !defined(PV_RUNTIME_LIB_FILENAME_EXTENSION) 59 #error "ERROR: PV_RUNTIME_LIB_FILENAME_EXTENSION must be specified for use as the dynamic library file extension" 60 #endif 61 62 #endif // OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT 63 64 65 /*! @} */ 66 67 #endif // OSCLCONFIG_LIB_CHECK_H_INCLUDED 68 69 70