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 //osclconfig: this build configuration file is for win32 20 #ifndef OSCLCONFIG_TIME_CHECK_H_INCLUDED 21 #define OSCLCONFIG_TIME_CHECK_H_INCLUDED 22 23 24 /** 25 OSCL_HAS_UNIX_TIME_FUNCS macro should be set to 1 if 26 the target platform supports unix time of day functions. 27 Otherwise it should be set to 0. 28 */ 29 #ifndef OSCL_HAS_UNIX_TIME_FUNCS 30 #error "ERROR: OSCL_HAS_UNIX_TIME_FUNCS has to be defined to either 1 or 0" 31 #endif 32 33 /** 34 OsclBasicTimeStruct type should be defined to the platform-specific 35 time of day type. 36 */ 37 typedef OsclBasicTimeStruct __Validate__BasicTimeStruct__; 38 39 /** 40 OsclBasicDateTimeStruct type should be defined to the platform-specific 41 date + time type. 42 */ 43 typedef OsclBasicDateTimeStruct __Validate__BasicTimeDateStruct__; 44 45 #endif //OSCLCONFIG_TIME_CHECK_H_INCLUDED 46 47 48