• 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_lib.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_lib.h</h1><a href="osclconfig__lib_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span>
1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1100003
1200004 <span class="comment">//     O S C L C O N F I G _ L I B  ( P L A T F O R M   C O N F I G   I N F O )</span>
1300005
1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
1500007
1600008
1700014 <span class="preprocessor">#ifndef OSCLCONFIG_LIB_H_INCLUDED</span>
1800015 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_LIB_H_INCLUDED</span>
1900016 <span class="preprocessor"></span>
2000017
2100018
2200019 <span class="comment">//Set this to 1 to indicate this platform has oscllib support</span>
23<a name="l00020"></a><a class="code" href="osclconfig__lib_8h.html#a0">00020</a> <span class="preprocessor">#define OSCL_HAS_RUNTIME_LIB_LOADING_SUPPORT    1</span>
24<a name="l00021"></a><a class="code" href="osclconfig__lib_8h.html#a1">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define PV_RUNTIME_LIB_FILENAME_EXTENSION "so"</span>
2500022 <span class="preprocessor"></span>
2600023 <span class="comment">//Set this to 1 to enable looking for debug versions of libraries.</span>
2700024 <span class="comment">//Use #ifndef to allow the compiler setting to override this definition</span>
2800025 <span class="preprocessor">#ifndef OSCL_LIB_READ_DEBUG_LIBS</span>
2900026 <span class="preprocessor"></span><span class="preprocessor">#if defined(NDEBUG)</span>
3000027 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_LIB_READ_DEBUG_LIBS 0</span>
3100028 <span class="preprocessor"></span><span class="preprocessor">#else</span>
32<a name="l00029"></a><a class="code" href="osclconfig__lib_8h.html#a2">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_LIB_READ_DEBUG_LIBS 1</span>
3300030 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
3400031 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
3500032 <span class="preprocessor"></span>
3600033 <span class="comment">// The path recursively from which the config files are picked up</span>
3700034 <span class="preprocessor">#ifndef PV_DYNAMIC_LOADING_CONFIG_FILE_PATH</span>
3800035 <span class="preprocessor"></span><span class="preprocessor">#ifdef ANDROID</span>
3900036 <span class="preprocessor"></span><span class="preprocessor">#define PV_DYNAMIC_LOADING_CONFIG_FILE_PATH "/system/etc"</span>
4000037 <span class="preprocessor"></span><span class="preprocessor">#else</span>
41<a name="l00038"></a><a class="code" href="osclconfig__lib_8h.html#a3">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define PV_DYNAMIC_LOADING_CONFIG_FILE_PATH "./"</span>
4200039 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
4300040 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
4400041 <span class="preprocessor"></span>
4500042 <span class="comment">// check all osclconfig required macros are defined</span>
4600043 <span class="preprocessor">#include "<a class="code" href="osclconfig__lib__check_8h.html">osclconfig_lib_check.h</a>"</span>
4700044
4800045 <span class="preprocessor">#endif // OSCLCONFIG_LIB_H_INCLUDED</span>
4900046 <span class="preprocessor"></span>
50</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
51<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
52</small></address>
53</body>
54</html>
55