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 #ifndef OSCLCONFIG_UTIL_CHECK_H_INCLUDED 19 #define OSCLCONFIG_UTIL_CHECK_H_INCLUDED 20 21 /** 22 OSCL_HAS_SYMBIAN_TIMERS macro should be set to 1 if 23 the target platform supports Symbian timers (RTimer). 24 Otherwise it should be set to 0. 25 */ 26 #ifndef OSCL_HAS_SYMBIAN_TIMERS 27 #error "ERROR: OSCL_HAS_SYMBIAN_TIMERS has to be defined to either 1 or 0" 28 #endif 29 30 /** 31 OSCL_HAS_SYMBIAN_MATH macro should be set to 1 if 32 the target platform supports Symbian <e32math.h> features. 33 Otherwise it should be set to 0. 34 */ 35 #ifndef OSCL_HAS_SYMBIAN_MATH 36 #error "ERROR: OSCL_HAS_SYMBIAN_MATH has to be defined to either 1 or 0" 37 #endif 38 39 /** 40 OSCL_HAS_ANSI_MATH_SUPPORT macro should be set to 1 if 41 the target platform supports the ANSI C math functions (math.h) 42 Otherwise it should be set to 0. 43 */ 44 #ifndef OSCL_HAS_ANSI_MATH_SUPPORT 45 #error "ERROR: OSCL_HAS_ANSI_MATH_SUPPORT has to be defined to either 1 or 0" 46 #endif 47 48 /** 49 OSCL_CLOCK_HAS_DRIFT_CORRECTION macro should be set to 1 if the target platform 50 has drift correction Otherwise it should be set to 0. 51 */ 52 #ifndef OSCL_CLOCK_HAS_DRIFT_CORRECTION 53 #error "ERROR: OSCL_CLOCK_HAS_DRIFT_CORRECTION has to be defined to either 1 or 0" 54 #endif 55 56 #endif // OSCLCONFIG_UTIL_CHECK_H_INCLUDED 57 58 59