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_H_INCLUDED 19 #define OSCLCONFIG_UTIL_H_INCLUDED 20 21 #ifndef OSCLCONFIG_H_INCLUDED 22 #include "osclconfig.h" 23 #endif 24 25 #include <stdio.h> //sprintf 26 #include <time.h> // OSCL clock 27 #include <sys/time.h> // timeval 28 29 #define OSCL_CLOCK_HAS_DRIFT_CORRECTION 0 30 #define OSCL_HAS_SYMBIAN_TIMERS 0 31 #define OSCL_HAS_SYMBIAN_MATH 0 32 33 #define OSCL_RAND_MAX RAND_MAX 34 35 //Define system sleep call for the tick count test here. 36 #include <unistd.h> 37 #define SLEEP_ONE_SEC sleep(1) 38 39 40 #include "osclconfig_util_check.h" 41 42 #endif 43 44