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_check.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_check.h</h1><a href="osclconfig__check_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 
     10 00002 <span class="preprocessor">#ifndef OSCLCONFIG_CHECK_H_INCLUDED</span>
     11 00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_CHECK_H_INCLUDED</span>
     12 00004 <span class="preprocessor"></span>
     13 <a name="l00014"></a><a class="code" href="group__osclconfig.html#a0">00014</a> <span class="keyword">typedef</span> int8 <a class="code" href="group__osclconfig.html#a0">__int8__check__</a>;
     14 <a name="l00015"></a><a class="code" href="group__osclconfig.html#a1">00015</a> <span class="keyword">typedef</span> uint8 <a class="code" href="group__osclconfig.html#a1">__uint8__check__</a>;
     15 <a name="l00016"></a><a class="code" href="group__osclconfig.html#a2">00016</a> <span class="keyword">typedef</span> int16 <a class="code" href="group__osclconfig.html#a2">__int16__check__</a>;
     16 <a name="l00017"></a><a class="code" href="group__osclconfig.html#a3">00017</a> <span class="keyword">typedef</span> uint16 <a class="code" href="group__osclconfig.html#a3">__uint16__check__</a>;
     17 <a name="l00018"></a><a class="code" href="group__osclconfig.html#a4">00018</a> <span class="keyword">typedef</span> int32 <a class="code" href="group__osclconfig.html#a4">__int32__check__</a>;
     18 <a name="l00019"></a><a class="code" href="group__osclconfig.html#a5">00019</a> <span class="keyword">typedef</span> uint32 <a class="code" href="group__osclconfig.html#a5">__uint32__check__</a>;
     19 00020 
     20 00026 <span class="preprocessor">#ifndef OSCL_ASSERT_ALWAYS</span>
     21 00027 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_ASSERT_ALWAYS has to be defined to either 1 or 0."</span>
     22 00028 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     23 00029 <span class="preprocessor"></span>
     24 00030 
     25 00036 <span class="preprocessor">#ifndef OSCL_DISABLE_INLINES</span>
     26 00037 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_DISABLE_INLINES has to be defined to either 1 or 0."</span>
     27 00038 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     28 00039 <span class="preprocessor"></span>
     29 00045 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STDLIB_SUPPORT</span>
     30 00046 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STDLIB_SUPPORT has to be defined to either 1 or 0."</span>
     31 00047 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     32 00048 <span class="preprocessor"></span>
     33 00054 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STDIO_SUPPORT</span>
     34 00055 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STDIO_SUPPORT has to be defined to either 1 or 0."</span>
     35 00056 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     36 00057 <span class="preprocessor"></span>
     37 00063 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STRING_SUPPORT</span>
     38 00064 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STRING_SUPPORT has to be defined to either 1 or 0."</span>
     39 00065 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     40 00066 <span class="preprocessor"></span>
     41 00072 <span class="preprocessor">#ifndef OSCL_HAS_UNICODE_SUPPORT</span>
     42 00073 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_UNICODE_SUPPORT has to be defined to either 1 or 0."</span>
     43 00074 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     44 00075 <span class="preprocessor"></span>
     45 00082 <span class="preprocessor">#ifndef _STRLIT</span>
     46 00083 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT has to be defined."</span>
     47 00084 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     48 00085 <span class="preprocessor"></span>
     49 00092 <span class="preprocessor">#ifndef _STRLIT_CHAR</span>
     50 00093 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT_CHAR has to be defined."</span>
     51 00094 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     52 00095 <span class="preprocessor"></span>
     53 00103 <span class="preprocessor">#if (OSCL_HAS_UNICODE_SUPPORT) &amp;&amp; !defined(_STRLIT_WCHAR)</span>
     54 00104 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT_WCHAR has to be defined"</span>
     55 00105 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     56 00106 <span class="preprocessor"></span>
     57 00113 <span class="preprocessor">#if (OSCL_HAS_UNICODE_SUPPORT) &amp;&amp; !defined(OSCL_NATIVE_WCHAR_TYPE)</span>
     58 00114 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_WCHAR_TYPE has to be defined."</span>
     59 00115 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     60 00116 <span class="preprocessor"></span>
     61 00122 <span class="preprocessor">#ifndef OSCL_HAS_MSWIN_SUPPORT</span>
     62 00123 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_MSWIN_SUPPORT has to be defined to either 1 or 0"</span>
     63 00124 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     64 00125 <span class="preprocessor"></span>
     65 00131 <span class="preprocessor">#ifndef OSCL_HAS_UNIX_SUPPORT</span>
     66 00132 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_UNIX_SUPPORT has to be defined to either 1 or 0."</span>
     67 00133 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     68 00134 <span class="preprocessor"></span>
     69 00140 <span class="preprocessor">#ifndef OSCL_HAS_SYMBIAN_SUPPORT</span>
     70 00141 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_SYMBIAN_SUPPORT has to be defined to either 1 or 0"</span>
     71 00142 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     72 00143 <span class="preprocessor"></span>
     73 00149 <span class="preprocessor">#ifndef OSCL_INTEGERS_WORD_ALIGNED</span>
     74 00150 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_INTEGERS_WORD_ALIGNED has to be defined to either 1 or 0."</span>
     75 00151 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     76 00152 <span class="preprocessor"></span>
     77 00158 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_BIG_ENDIAN</span>
     78 00159 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_BYTE_ORDER_BIG_ENDIAN has to be defined to either 1 or 0."</span>
     79 00160 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     80 00161 <span class="preprocessor"></span>
     81 00167 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_LITTLE_ENDIAN</span>
     82 00168 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_BYTE_ORDER_LITTLE_ENDIAN has to be defined to either 1 or 0."</span>
     83 00169 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     84 00170 <span class="preprocessor"></span>
     85 00175 <span class="preprocessor">#if !(OSCL_BYTE_ORDER_BIG_ENDIAN) &amp;&amp; !(OSCL_BYTE_ORDER_LITTLE_ENDIAN)</span>
     86 00176 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: either OSCL_BYTE_ORDER_LITTLE_ENDIAN or else OSCL_BYTE_ORDER_BIG_ENDIAN must be 1."</span>
     87 00177 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     88 00178 <span class="preprocessor"></span><span class="preprocessor">#if (OSCL_BYTE_ORDER_BIG_ENDIAN) &amp;&amp; (OSCL_BYTE_ORDER_LITTLE_ENDIAN)</span>
     89 00179 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: either OSCL_BYTE_ORDER_LITTLE_ENDIAN or else OSCL_BYTE_ORDER_BIG_ENDIAN must be 1."</span>
     90 00180 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     91 00181 <span class="preprocessor"></span>
     92 00187 <span class="preprocessor">#ifndef OSCL_HAS_GLOBAL_VARIABLE_SUPPORT</span>
     93 00188 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_GLOBAL_VARIABLE_SUPPORT has to be defined to either 1 or 0."</span>
     94 00189 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
     95 00190 <span class="preprocessor"></span>
     96 00197 <span class="preprocessor">#if !(OSCL_HAS_GLOBAL_VARIABLE_SUPPORT)</span>
     97 00198 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_HAS_PARTIAL_GLOBAL_VARIABLE_SUPPORT</span>
     98 00199 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_PARTIAL_GLOBAL_VARIABLE_SUPPORT has to be defined to either 1 or 0."</span>
     99 00200 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    100 00201 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    101 00202 <span class="preprocessor"></span>
    102 00206 <span class="preprocessor">#if (OSCL_BYTE_ORDER_LITTLE_ENDIAN) &amp;&amp; (OSCL_BYTE_ORDER_BIG_ENDIAN)</span>
    103 00207 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: Multiple selection for OSCL_BYTE_ORDER."</span>
    104 00208 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    105 00209 <span class="preprocessor"></span>
    106 00215 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STRING_SUPPORT</span>
    107 00216 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STRING_SUPPORT has to be defined to either 1 or 0."</span>
    108 00217 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    109 00218 <span class="preprocessor"></span>
    110 00222 <span class="preprocessor">#ifndef OSCL_HAS_NATIVE_INT64_TYPE</span>
    111 00223 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_NATIVE_INT64_TYPE has to be defined to either 1 or 0."</span>
    112 00224 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    113 00225 <span class="preprocessor"></span>
    114 00229 <span class="preprocessor">#ifndef OSCL_HAS_NATIVE_UINT64_TYPE</span>
    115 00230 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_NATIVE_UINT64_TYPE has to be defined to either 1 or 0."</span>
    116 00231 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    117 00232 <span class="preprocessor"></span>
    118 00238 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span>
    119 00239 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_NATIVE_INT64_TYPE</span>
    120 00240 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_INT64_TYPE has to be defined."</span>
    121 00241 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    122 00242 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    123 00243 <span class="preprocessor"></span>
    124 00249 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span>
    125 00250 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_NATIVE_UINT64_TYPE</span>
    126 00251 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_UINT64_TYPE has to be defined."</span>
    127 00252 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    128 00253 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    129 00254 <span class="preprocessor"></span>
    130 00260 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span>
    131 00261 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT64</span>
    132 00262 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: INT64(x) has to be defined."</span>
    133 00263 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    134 00264 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    135 00265 <span class="preprocessor"></span>
    136 00271 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span>
    137 00272 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT64</span>
    138 00273 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: UINT64(x) has to be defined."</span>
    139 00274 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    140 00275 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    141 00276 <span class="preprocessor"></span>
    142 00282 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span>
    143 00283 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT64_HILO</span>
    144 00284 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: INT64_HILO(high,low) has to be defined."</span>
    145 00285 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    146 00286 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    147 00287 <span class="preprocessor"></span>
    148 00293 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span>
    149 00294 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT64_HILO</span>
    150 00295 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: UINT64_HILO(high,low) has to be defined."</span>
    151 00296 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    152 00297 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    153 00298 <span class="preprocessor"></span>
    154 00305 <span class="preprocessor">#ifndef OSCL_MEMFRAG_PTR_BEFORE_LEN</span>
    155 00306 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_MEMFRAG_PTR_BEFORE_LEN has to be defined to either 0 or 1"</span>
    156 00307 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    157 00308 <span class="preprocessor"></span>
    158 00314 <span class="preprocessor">#ifndef OSCL_HAS_TLS_SUPPORT</span>
    159 00315 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_TLS_SUPPORT has to be defined to either 1 or 0"</span>
    160 00316 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    161 00317 <span class="preprocessor"></span>
    162 00325 <span class="preprocessor">#ifndef OSCL_TLS_IS_KEYED</span>
    163 00326 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_IS_KEYED has to be defined to either 1 or 0"</span>
    164 00327 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    165 00328 <span class="preprocessor"></span>
    166 00329 
    167 00336 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) &amp;&amp; !defined(OSCL_TLS_STORE_FUNC)</span>
    168 00337 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_STORE_FUNC has to be defined"</span>
    169 00338 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    170 00339 <span class="preprocessor"></span>
    171 00346 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) &amp;&amp; !defined(OSCL_TLS_GET_FUNC)</span>
    172 00347 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_GET_FUNC has to be defined"</span>
    173 00348 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    174 00349 <span class="preprocessor"></span>
    175 00356 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) &amp;&amp; !defined(OSCL_TLS_KEY_CREATE_FUNC)</span>
    176 00357 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_KEY_CREATE_FUNC has to be defined"</span>
    177 00358 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    178 00359 <span class="preprocessor"></span>
    179 00366 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) &amp;&amp; !defined(OSCL_TLS_KEY_DELETE_FUNC)</span>
    180 00367 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_KEY_DELETE_FUNC has to be defined"</span>
    181 00368 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    182 00369 <span class="preprocessor"></span>
    183 00370 
    184 00377 <span class="preprocessor">#if (OSCL_HAS_TLS_SUPPORT) &amp;&amp; !(OSCL_TLS_IS_KEYED) &amp;&amp; !defined(OSCL_TLS_STORE_FUNC)</span>
    185 00378 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_STORE_FUNC has to be defined"</span>
    186 00379 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    187 00380 <span class="preprocessor"></span>
    188 00386 <span class="preprocessor">#if (OSCL_HAS_TLS_SUPPORT) &amp;&amp; !(OSCL_TLS_IS_KEYED) &amp;&amp; !defined(OSCL_TLS_GET_FUNC)</span>
    189 00387 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_GET_FUNC has to be defined"</span>
    190 00388 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    191 00389 <span class="preprocessor"></span>
    192 00393 <span class="preprocessor">#if !defined(OSCL_HAS_BASIC_LOCK )</span>
    193 00394 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_BASIC_LOCK must be defined to 0 or 1"</span>
    194 00395 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
    195 00396 <span class="preprocessor"></span>
    196 00397 
    197 00407 <span class="preprocessor">#if (OSCL_HAS_BASIC_LOCK) &amp;&amp; !defined(TOsclBasicLockObject)</span>
    198 00408 <span class="preprocessor"></span><span class="keyword">typedef</span> TOsclBasicLockObject __verify__TOsclBasicLockObject__defined__;
    199 00409 <span class="preprocessor">#endif</span>
    200 00410 <span class="preprocessor"></span>
    201 00413 <span class="preprocessor">#endif // OSCLCONFIG_CHECK_H_INCLUDED</span>
    202 00414 <span class="preprocessor"></span>
    203 00415 
    204 </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    205 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    206 </small></address>
    207 </body>
    208 </html>
    209