| <!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_check.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_check.h</h1><a href="osclconfig__check_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 |
| 00002 <span class="preprocessor">#ifndef OSCLCONFIG_CHECK_H_INCLUDED</span> |
| 00003 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_CHECK_H_INCLUDED</span> |
| 00004 <span class="preprocessor"></span> |
| <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>; |
| <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>; |
| <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>; |
| <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>; |
| <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>; |
| <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>; |
| 00020 |
| 00026 <span class="preprocessor">#ifndef OSCL_ASSERT_ALWAYS</span> |
| 00027 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_ASSERT_ALWAYS has to be defined to either 1 or 0."</span> |
| 00028 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00029 <span class="preprocessor"></span> |
| 00030 |
| 00036 <span class="preprocessor">#ifndef OSCL_DISABLE_INLINES</span> |
| 00037 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_DISABLE_INLINES has to be defined to either 1 or 0."</span> |
| 00038 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00039 <span class="preprocessor"></span> |
| 00045 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STDLIB_SUPPORT</span> |
| 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> |
| 00047 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00048 <span class="preprocessor"></span> |
| 00054 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STDIO_SUPPORT</span> |
| 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> |
| 00056 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00057 <span class="preprocessor"></span> |
| 00063 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STRING_SUPPORT</span> |
| 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> |
| 00065 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00066 <span class="preprocessor"></span> |
| 00072 <span class="preprocessor">#ifndef OSCL_HAS_UNICODE_SUPPORT</span> |
| 00073 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_UNICODE_SUPPORT has to be defined to either 1 or 0."</span> |
| 00074 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00075 <span class="preprocessor"></span> |
| 00082 <span class="preprocessor">#ifndef _STRLIT</span> |
| 00083 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT has to be defined."</span> |
| 00084 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00085 <span class="preprocessor"></span> |
| 00092 <span class="preprocessor">#ifndef _STRLIT_CHAR</span> |
| 00093 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT_CHAR has to be defined."</span> |
| 00094 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00095 <span class="preprocessor"></span> |
| 00103 <span class="preprocessor">#if (OSCL_HAS_UNICODE_SUPPORT) && !defined(_STRLIT_WCHAR)</span> |
| 00104 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT_WCHAR has to be defined"</span> |
| 00105 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00106 <span class="preprocessor"></span> |
| 00113 <span class="preprocessor">#if (OSCL_HAS_UNICODE_SUPPORT) && !defined(OSCL_NATIVE_WCHAR_TYPE)</span> |
| 00114 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_WCHAR_TYPE has to be defined."</span> |
| 00115 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00116 <span class="preprocessor"></span> |
| 00122 <span class="preprocessor">#ifndef OSCL_HAS_MSWIN_SUPPORT</span> |
| 00123 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_MSWIN_SUPPORT has to be defined to either 1 or 0"</span> |
| 00124 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00125 <span class="preprocessor"></span> |
| 00131 <span class="preprocessor">#ifndef OSCL_HAS_UNIX_SUPPORT</span> |
| 00132 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_UNIX_SUPPORT has to be defined to either 1 or 0."</span> |
| 00133 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00134 <span class="preprocessor"></span> |
| 00140 <span class="preprocessor">#ifndef OSCL_HAS_SYMBIAN_SUPPORT</span> |
| 00141 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_SYMBIAN_SUPPORT has to be defined to either 1 or 0"</span> |
| 00142 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00143 <span class="preprocessor"></span> |
| 00149 <span class="preprocessor">#ifndef OSCL_INTEGERS_WORD_ALIGNED</span> |
| 00150 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_INTEGERS_WORD_ALIGNED has to be defined to either 1 or 0."</span> |
| 00151 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00152 <span class="preprocessor"></span> |
| 00158 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_BIG_ENDIAN</span> |
| 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> |
| 00160 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00161 <span class="preprocessor"></span> |
| 00167 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_LITTLE_ENDIAN</span> |
| 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> |
| 00169 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00170 <span class="preprocessor"></span> |
| 00175 <span class="preprocessor">#if !(OSCL_BYTE_ORDER_BIG_ENDIAN) && !(OSCL_BYTE_ORDER_LITTLE_ENDIAN)</span> |
| 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> |
| 00177 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00178 <span class="preprocessor"></span><span class="preprocessor">#if (OSCL_BYTE_ORDER_BIG_ENDIAN) && (OSCL_BYTE_ORDER_LITTLE_ENDIAN)</span> |
| 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> |
| 00180 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00181 <span class="preprocessor"></span> |
| 00187 <span class="preprocessor">#ifndef OSCL_HAS_GLOBAL_VARIABLE_SUPPORT</span> |
| 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> |
| 00189 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00190 <span class="preprocessor"></span> |
| 00197 <span class="preprocessor">#if !(OSCL_HAS_GLOBAL_VARIABLE_SUPPORT)</span> |
| 00198 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_HAS_PARTIAL_GLOBAL_VARIABLE_SUPPORT</span> |
| 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> |
| 00200 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00201 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00202 <span class="preprocessor"></span> |
| 00206 <span class="preprocessor">#if (OSCL_BYTE_ORDER_LITTLE_ENDIAN) && (OSCL_BYTE_ORDER_BIG_ENDIAN)</span> |
| 00207 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: Multiple selection for OSCL_BYTE_ORDER."</span> |
| 00208 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00209 <span class="preprocessor"></span> |
| 00215 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STRING_SUPPORT</span> |
| 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> |
| 00217 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00218 <span class="preprocessor"></span> |
| 00222 <span class="preprocessor">#ifndef OSCL_HAS_NATIVE_INT64_TYPE</span> |
| 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> |
| 00224 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00225 <span class="preprocessor"></span> |
| 00229 <span class="preprocessor">#ifndef OSCL_HAS_NATIVE_UINT64_TYPE</span> |
| 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> |
| 00231 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00232 <span class="preprocessor"></span> |
| 00238 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span> |
| 00239 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_NATIVE_INT64_TYPE</span> |
| 00240 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_INT64_TYPE has to be defined."</span> |
| 00241 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00242 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00243 <span class="preprocessor"></span> |
| 00249 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span> |
| 00250 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_NATIVE_UINT64_TYPE</span> |
| 00251 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_UINT64_TYPE has to be defined."</span> |
| 00252 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00253 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00254 <span class="preprocessor"></span> |
| 00260 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span> |
| 00261 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT64</span> |
| 00262 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: INT64(x) has to be defined."</span> |
| 00263 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00264 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00265 <span class="preprocessor"></span> |
| 00271 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span> |
| 00272 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT64</span> |
| 00273 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: UINT64(x) has to be defined."</span> |
| 00274 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00275 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00276 <span class="preprocessor"></span> |
| 00282 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span> |
| 00283 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT64_HILO</span> |
| 00284 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: INT64_HILO(high,low) has to be defined."</span> |
| 00285 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00286 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00287 <span class="preprocessor"></span> |
| 00293 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span> |
| 00294 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT64_HILO</span> |
| 00295 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: UINT64_HILO(high,low) has to be defined."</span> |
| 00296 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00297 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00298 <span class="preprocessor"></span> |
| 00305 <span class="preprocessor">#ifndef OSCL_MEMFRAG_PTR_BEFORE_LEN</span> |
| 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> |
| 00307 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00308 <span class="preprocessor"></span> |
| 00314 <span class="preprocessor">#ifndef OSCL_HAS_TLS_SUPPORT</span> |
| 00315 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_TLS_SUPPORT has to be defined to either 1 or 0"</span> |
| 00316 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00317 <span class="preprocessor"></span> |
| 00325 <span class="preprocessor">#ifndef OSCL_TLS_IS_KEYED</span> |
| 00326 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_IS_KEYED has to be defined to either 1 or 0"</span> |
| 00327 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00328 <span class="preprocessor"></span> |
| 00329 |
| 00336 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_STORE_FUNC)</span> |
| 00337 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_STORE_FUNC has to be defined"</span> |
| 00338 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00339 <span class="preprocessor"></span> |
| 00346 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_GET_FUNC)</span> |
| 00347 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_GET_FUNC has to be defined"</span> |
| 00348 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00349 <span class="preprocessor"></span> |
| 00356 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_KEY_CREATE_FUNC)</span> |
| 00357 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_KEY_CREATE_FUNC has to be defined"</span> |
| 00358 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00359 <span class="preprocessor"></span> |
| 00366 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_KEY_DELETE_FUNC)</span> |
| 00367 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_KEY_DELETE_FUNC has to be defined"</span> |
| 00368 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00369 <span class="preprocessor"></span> |
| 00370 |
| 00377 <span class="preprocessor">#if (OSCL_HAS_TLS_SUPPORT) && !(OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_STORE_FUNC)</span> |
| 00378 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_STORE_FUNC has to be defined"</span> |
| 00379 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00380 <span class="preprocessor"></span> |
| 00386 <span class="preprocessor">#if (OSCL_HAS_TLS_SUPPORT) && !(OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_GET_FUNC)</span> |
| 00387 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_GET_FUNC has to be defined"</span> |
| 00388 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00389 <span class="preprocessor"></span> |
| 00393 <span class="preprocessor">#if !defined(OSCL_HAS_BASIC_LOCK )</span> |
| 00394 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_BASIC_LOCK must be defined to 0 or 1"</span> |
| 00395 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
| 00396 <span class="preprocessor"></span> |
| 00397 |
| 00407 <span class="preprocessor">#if (OSCL_HAS_BASIC_LOCK) && !defined(TOsclBasicLockObject)</span> |
| 00408 <span class="preprocessor"></span><span class="keyword">typedef</span> TOsclBasicLockObject __verify__TOsclBasicLockObject__defined__; |
| 00409 <span class="preprocessor">#endif</span> |
| 00410 <span class="preprocessor"></span> |
| 00413 <span class="preprocessor">#endif // OSCLCONFIG_CHECK_H_INCLUDED</span> |
| 00414 <span class="preprocessor"></span> |
| 00415 |
| </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_20090310 </small> |
| </small></address> |
| </body> |
| </html> |