• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>osclconfig_util.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.18 -->
7<center>
8<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9<hr><h1>osclconfig_util.h</h1><a href="osclconfig__util_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef OSCLCONFIG_UTIL_H_INCLUDED</span>
1000002 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_UTIL_H_INCLUDED</span>
1100003 <span class="preprocessor"></span>
1200004 <span class="preprocessor">#ifndef OSCLCONFIG_H_INCLUDED</span>
1300005 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="osclconfig_8h.html">osclconfig.h</a>"</span>
1400006 <span class="preprocessor">#endif</span>
1500007 <span class="preprocessor"></span>
1600008 <span class="preprocessor">#include &lt;stdio.h&gt;</span> <span class="comment">//sprintf</span>
1700009 <span class="preprocessor">#include &lt;time.h&gt;</span>         <span class="comment">// OSCL clock</span>
1800010 <span class="preprocessor">#include &lt;sys/time.h&gt;</span> <span class="comment">// timeval</span>
1900011
20<a name="l00012"></a><a class="code" href="osclconfig__util_8h.html#a0">00012</a> <span class="preprocessor">#define OSCL_CLOCK_HAS_DRIFT_CORRECTION 0</span>
21<a name="l00013"></a><a class="code" href="osclconfig__util_8h.html#a1">00013</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_HAS_SYMBIAN_TIMERS 0</span>
22<a name="l00014"></a><a class="code" href="osclconfig__util_8h.html#a2">00014</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_HAS_SYMBIAN_MATH   0</span>
2300015 <span class="preprocessor"></span>
24<a name="l00016"></a><a class="code" href="osclconfig__util_8h.html#a3">00016</a> <span class="preprocessor">#define OSCL_RAND_MAX           RAND_MAX</span>
2500017 <span class="preprocessor"></span>
2600018 <span class="comment">//Define system sleep call for the tick count test here.</span>
2700019 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
28<a name="l00020"></a><a class="code" href="osclconfig__util_8h.html#a4">00020</a> <span class="preprocessor">#define SLEEP_ONE_SEC sleep(1)</span>
2900021 <span class="preprocessor"></span>
3000022
3100023 <span class="preprocessor">#include "<a class="code" href="osclconfig__util__check_8h.html">osclconfig_util_check.h</a>"</span>
3200024
3300025 <span class="preprocessor">#endif</span>
3400026 <span class="preprocessor"></span>
35</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
36<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
37</small></address>
38</body>
39</html>
40