| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>osclconfig_lib.h Source File</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.2.18 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> |
| <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> |
| 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00003 |
| 00004 <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> |
| 00005 |
| 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00007 |
| 00008 |
| 00014 <span class="preprocessor">#ifndef OSCLCONFIG_LIB_H_INCLUDED</span> |
| 00015 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_LIB_H_INCLUDED</span> |
| 00016 <span class="preprocessor"></span> |
| 00017 |
| 00018 |
| 00019 <span class="comment">//Set this to 1 to indicate this platform has oscllib support</span> |
| <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> |
| <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> |
| 00022 <span class="preprocessor"></span> |
| 00023 <span class="comment">//Set this to 1 to enable looking for debug versions of libraries.</span> |
| 00024 <span class="comment">//Use #ifndef to allow the compiler setting to override this definition</span> |
| 00025 <span class="preprocessor">#ifndef OSCL_LIB_READ_DEBUG_LIBS</span> |
| 00026 <span class="preprocessor"></span><span class="preprocessor">#if defined(NDEBUG)</span> |
| 00027 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_LIB_READ_DEBUG_LIBS 0</span> |
| 00028 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
| <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> |
| 00030 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00031 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00032 <span class="preprocessor"></span> |
| 00033 <span class="comment">// The path recursively from which the config files are picked up</span> |
| 00034 <span class="preprocessor">#ifndef PV_DYNAMIC_LOADING_CONFIG_FILE_PATH</span> |
| 00035 <span class="preprocessor"></span><span class="preprocessor">#ifdef ANDROID</span> |
| 00036 <span class="preprocessor"></span><span class="preprocessor">#define PV_DYNAMIC_LOADING_CONFIG_FILE_PATH "/system/etc"</span> |
| 00037 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
| <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> |
| 00039 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00040 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00041 <span class="preprocessor"></span> |
| 00042 <span class="comment">// check all osclconfig required macros are defined</span> |
| 00043 <span class="preprocessor">#include "<a class="code" href="osclconfig__lib__check_8h.html">osclconfig_lib_check.h</a>"</span> |
| 00044 |
| 00045 <span class="preprocessor">#endif // OSCLCONFIG_LIB_H_INCLUDED</span> |
| 00046 <span class="preprocessor"></span> |
| </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> |
| <address style="align: left;"><small>Posting Version: OPENCORE_20090120 </small> |
| </small></address> |
| </body> |
| </html> |