Home | History | Annotate | Download | only in oscl_html
      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>
     10 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
     11 00003 
     12 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>
     13 00005 
     14 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
     15 00007 
     16 00008 
     17 00014 <span class="preprocessor">#ifndef OSCLCONFIG_LIB_H_INCLUDED</span>
     18 00015 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_LIB_H_INCLUDED</span>
     19 00016 <span class="preprocessor"></span>
     20 00017 
     21 00018 
     22 00019 <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>
     25 00022 <span class="preprocessor"></span>
     26 00023 <span class="comment">//Set this to 1 to enable looking for debug versions of libraries.</span>
     27 00024 <span class="comment">//Use #ifndef to allow the compiler setting to override this definition</span>
     28 00025 <span class="preprocessor">#ifndef OSCL_LIB_READ_DEBUG_LIBS</span>
     29 00026 <span class="preprocessor"></span><span class="preprocessor">#if defined(NDEBUG)</span>
     30 00027 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_LIB_READ_DEBUG_LIBS 0</span>
     31 00028 <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>
     33 00030 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     34 00031 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     35 00032 <span class="preprocessor"></span>
     36 00033 <span class="comment">// The path recursively from which the config files are picked up</span>
     37 00034 <span class="preprocessor">#ifndef PV_DYNAMIC_LOADING_CONFIG_FILE_PATH</span>
     38 00035 <span class="preprocessor"></span><span class="preprocessor">#ifdef ANDROID</span>
     39 00036 <span class="preprocessor"></span><span class="preprocessor">#define PV_DYNAMIC_LOADING_CONFIG_FILE_PATH "/system/etc"</span>
     40 00037 <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>
     42 00039 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     43 00040 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     44 00041 <span class="preprocessor"></span>
     45 00042 <span class="comment">// check all osclconfig required macros are defined</span>
     46 00043 <span class="preprocessor">#include "<a class="code" href="osclconfig__lib__check_8h.html">osclconfig_lib_check.h</a>"</span>
     47 00044 
     48 00045 <span class="preprocessor">#endif // OSCLCONFIG_LIB_H_INCLUDED</span>
     49 00046 <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