aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/osclconfig__util_8h_source.html
blob: 8b21afbae8a65f0d647eda8eed821c7723212175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: osclconfig_util.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>osclconfig_util.h</h1><a href="osclconfig__util_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef OSCLCONFIG_UTIL_H_INCLUDED</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_UTIL_H_INCLUDED</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#ifndef OSCLCONFIG_H_INCLUDED</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="osclconfig_8h.html" title="This file contains configuration information for the linux platform.">osclconfig.h</a>&quot;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#endif</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;stdio.h&gt;</span> <span class="comment">//sprintf</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;time.h&gt;</span>     <span class="comment">// OSCL clock</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;sys/time.h&gt;</span> <span class="comment">// timeval</span>
<a name="l00011"></a>00011 
<a name="l00012"></a><a class="code" href="osclconfig__util_8h.html#a12e1e71227d97ab7e46918239e43d5d5">00012</a> <span class="preprocessor">#define OSCL_CLOCK_HAS_DRIFT_CORRECTION 0</span>
<a name="l00013"></a><a class="code" href="osclconfig__util_8h.html#ae7a9e15bd0323b33a244a1dd2562976c">00013</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_HAS_SYMBIAN_TIMERS 0</span>
<a name="l00014"></a><a class="code" href="osclconfig__util_8h.html#aa6a8d960183637fea2db0dae49c6d774">00014</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_HAS_SYMBIAN_MATH   0</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00016"></a><a class="code" href="osclconfig__util_8h.html#abc4d43a3d61e4177863b899a9bc86582">00016</a> <span class="preprocessor">#define OSCL_RAND_MAX           RAND_MAX</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span>
<a name="l00018"></a><a class="code" href="osclconfig__util_8h.html#ae5f30784c232b690dd20f82f98324897">00018</a> <span class="preprocessor">#define OSCL_HAS_SNPRINTF_LONGLONG_SUPPORT 1</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="comment">//Define system sleep call for the tick count test here.</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
<a name="l00023"></a><a class="code" href="osclconfig__util_8h.html#a15ba033dbe556975bfeb6caa3a046753">00023</a> <span class="preprocessor">#define SLEEP_ONE_SEC sleep(1)</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="osclconfig__util__check_8h.html">osclconfig_util_check.h</a>&quot;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#endif</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.004.1.1 </small>
</small></address>
</body>
</html>