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> <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> 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 1000002 <span class="preprocessor">#ifndef OSCLCONFIG_CHECK_H_INCLUDED</span> 1100003 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_CHECK_H_INCLUDED</span> 1200004 <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>; 1900020 2000026 <span class="preprocessor">#ifndef OSCL_ASSERT_ALWAYS</span> 2100027 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_ASSERT_ALWAYS has to be defined to either 1 or 0."</span> 2200028 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 2300029 <span class="preprocessor"></span> 2400030 2500036 <span class="preprocessor">#ifndef OSCL_DISABLE_INLINES</span> 2600037 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_DISABLE_INLINES has to be defined to either 1 or 0."</span> 2700038 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 2800039 <span class="preprocessor"></span> 2900045 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STDLIB_SUPPORT</span> 3000046 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STDLIB_SUPPORT has to be defined to either 1 or 0."</span> 3100047 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 3200048 <span class="preprocessor"></span> 3300054 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STDIO_SUPPORT</span> 3400055 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STDIO_SUPPORT has to be defined to either 1 or 0."</span> 3500056 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 3600057 <span class="preprocessor"></span> 3700063 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STRING_SUPPORT</span> 3800064 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STRING_SUPPORT has to be defined to either 1 or 0."</span> 3900065 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 4000066 <span class="preprocessor"></span> 4100072 <span class="preprocessor">#ifndef OSCL_HAS_UNICODE_SUPPORT</span> 4200073 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_UNICODE_SUPPORT has to be defined to either 1 or 0."</span> 4300074 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 4400075 <span class="preprocessor"></span> 4500082 <span class="preprocessor">#ifndef _STRLIT</span> 4600083 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT has to be defined."</span> 4700084 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 4800085 <span class="preprocessor"></span> 4900092 <span class="preprocessor">#ifndef _STRLIT_CHAR</span> 5000093 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT_CHAR has to be defined."</span> 5100094 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 5200095 <span class="preprocessor"></span> 5300103 <span class="preprocessor">#if (OSCL_HAS_UNICODE_SUPPORT) && !defined(_STRLIT_WCHAR)</span> 5400104 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: _STRLIT_WCHAR has to be defined"</span> 5500105 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 5600106 <span class="preprocessor"></span> 5700113 <span class="preprocessor">#if (OSCL_HAS_UNICODE_SUPPORT) && !defined(OSCL_NATIVE_WCHAR_TYPE)</span> 5800114 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_WCHAR_TYPE has to be defined."</span> 5900115 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 6000116 <span class="preprocessor"></span> 6100122 <span class="preprocessor">#ifndef OSCL_HAS_MSWIN_SUPPORT</span> 6200123 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_MSWIN_SUPPORT has to be defined to either 1 or 0"</span> 6300124 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 6400125 <span class="preprocessor"></span> 6500131 <span class="preprocessor">#ifndef OSCL_HAS_UNIX_SUPPORT</span> 6600132 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_UNIX_SUPPORT has to be defined to either 1 or 0."</span> 6700133 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 6800134 <span class="preprocessor"></span> 6900140 <span class="preprocessor">#ifndef OSCL_HAS_SYMBIAN_SUPPORT</span> 7000141 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_SYMBIAN_SUPPORT has to be defined to either 1 or 0"</span> 7100142 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 7200143 <span class="preprocessor"></span> 7300149 <span class="preprocessor">#ifndef OSCL_INTEGERS_WORD_ALIGNED</span> 7400150 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_INTEGERS_WORD_ALIGNED has to be defined to either 1 or 0."</span> 7500151 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 7600152 <span class="preprocessor"></span> 7700158 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_BIG_ENDIAN</span> 7800159 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_BYTE_ORDER_BIG_ENDIAN has to be defined to either 1 or 0."</span> 7900160 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 8000161 <span class="preprocessor"></span> 8100167 <span class="preprocessor">#ifndef OSCL_BYTE_ORDER_LITTLE_ENDIAN</span> 8200168 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_BYTE_ORDER_LITTLE_ENDIAN has to be defined to either 1 or 0."</span> 8300169 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 8400170 <span class="preprocessor"></span> 8500175 <span class="preprocessor">#if !(OSCL_BYTE_ORDER_BIG_ENDIAN) && !(OSCL_BYTE_ORDER_LITTLE_ENDIAN)</span> 8600176 <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> 8700177 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 8800178 <span class="preprocessor"></span><span class="preprocessor">#if (OSCL_BYTE_ORDER_BIG_ENDIAN) && (OSCL_BYTE_ORDER_LITTLE_ENDIAN)</span> 8900179 <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> 9000180 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 9100181 <span class="preprocessor"></span> 9200187 <span class="preprocessor">#ifndef OSCL_HAS_GLOBAL_VARIABLE_SUPPORT</span> 9300188 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_GLOBAL_VARIABLE_SUPPORT has to be defined to either 1 or 0."</span> 9400189 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 9500190 <span class="preprocessor"></span> 9600197 <span class="preprocessor">#if !(OSCL_HAS_GLOBAL_VARIABLE_SUPPORT)</span> 9700198 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_HAS_PARTIAL_GLOBAL_VARIABLE_SUPPORT</span> 9800199 <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> 9900200 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 10000201 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 10100202 <span class="preprocessor"></span> 10200206 <span class="preprocessor">#if (OSCL_BYTE_ORDER_LITTLE_ENDIAN) && (OSCL_BYTE_ORDER_BIG_ENDIAN)</span> 10300207 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: Multiple selection for OSCL_BYTE_ORDER."</span> 10400208 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 10500209 <span class="preprocessor"></span> 10600215 <span class="preprocessor">#ifndef OSCL_HAS_ANSI_STRING_SUPPORT</span> 10700216 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_ANSI_STRING_SUPPORT has to be defined to either 1 or 0."</span> 10800217 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 10900218 <span class="preprocessor"></span> 11000222 <span class="preprocessor">#ifndef OSCL_HAS_NATIVE_INT64_TYPE</span> 11100223 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_NATIVE_INT64_TYPE has to be defined to either 1 or 0."</span> 11200224 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 11300225 <span class="preprocessor"></span> 11400229 <span class="preprocessor">#ifndef OSCL_HAS_NATIVE_UINT64_TYPE</span> 11500230 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_NATIVE_UINT64_TYPE has to be defined to either 1 or 0."</span> 11600231 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 11700232 <span class="preprocessor"></span> 11800238 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span> 11900239 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_NATIVE_INT64_TYPE</span> 12000240 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_INT64_TYPE has to be defined."</span> 12100241 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 12200242 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 12300243 <span class="preprocessor"></span> 12400249 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span> 12500250 <span class="preprocessor"></span><span class="preprocessor">#ifndef OSCL_NATIVE_UINT64_TYPE</span> 12600251 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_NATIVE_UINT64_TYPE has to be defined."</span> 12700252 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 12800253 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 12900254 <span class="preprocessor"></span> 13000260 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span> 13100261 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT64</span> 13200262 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: INT64(x) has to be defined."</span> 13300263 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 13400264 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 13500265 <span class="preprocessor"></span> 13600271 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span> 13700272 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT64</span> 13800273 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: UINT64(x) has to be defined."</span> 13900274 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 14000275 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 14100276 <span class="preprocessor"></span> 14200282 <span class="preprocessor">#if OSCL_HAS_NATIVE_INT64_TYPE</span> 14300283 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT64_HILO</span> 14400284 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: INT64_HILO(high,low) has to be defined."</span> 14500285 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 14600286 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 14700287 <span class="preprocessor"></span> 14800293 <span class="preprocessor">#if OSCL_HAS_NATIVE_UINT64_TYPE</span> 14900294 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT64_HILO</span> 15000295 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: UINT64_HILO(high,low) has to be defined."</span> 15100296 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 15200297 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 15300298 <span class="preprocessor"></span> 15400305 <span class="preprocessor">#ifndef OSCL_MEMFRAG_PTR_BEFORE_LEN</span> 15500306 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_MEMFRAG_PTR_BEFORE_LEN has to be defined to either 0 or 1"</span> 15600307 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 15700308 <span class="preprocessor"></span> 15800314 <span class="preprocessor">#ifndef OSCL_HAS_TLS_SUPPORT</span> 15900315 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_TLS_SUPPORT has to be defined to either 1 or 0"</span> 16000316 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 16100317 <span class="preprocessor"></span> 16200325 <span class="preprocessor">#ifndef OSCL_TLS_IS_KEYED</span> 16300326 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_IS_KEYED has to be defined to either 1 or 0"</span> 16400327 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 16500328 <span class="preprocessor"></span> 16600329 16700336 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_STORE_FUNC)</span> 16800337 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_STORE_FUNC has to be defined"</span> 16900338 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 17000339 <span class="preprocessor"></span> 17100346 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_GET_FUNC)</span> 17200347 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_GET_FUNC has to be defined"</span> 17300348 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 17400349 <span class="preprocessor"></span> 17500356 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_KEY_CREATE_FUNC)</span> 17600357 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_KEY_CREATE_FUNC has to be defined"</span> 17700358 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 17800359 <span class="preprocessor"></span> 17900366 <span class="preprocessor">#if (OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_KEY_DELETE_FUNC)</span> 18000367 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_KEY_DELETE_FUNC has to be defined"</span> 18100368 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 18200369 <span class="preprocessor"></span> 18300370 18400377 <span class="preprocessor">#if (OSCL_HAS_TLS_SUPPORT) && !(OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_STORE_FUNC)</span> 18500378 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_STORE_FUNC has to be defined"</span> 18600379 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 18700380 <span class="preprocessor"></span> 18800386 <span class="preprocessor">#if (OSCL_HAS_TLS_SUPPORT) && !(OSCL_TLS_IS_KEYED) && !defined(OSCL_TLS_GET_FUNC)</span> 18900387 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_TLS_GET_FUNC has to be defined"</span> 19000388 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 19100389 <span class="preprocessor"></span> 19200393 <span class="preprocessor">#if !defined(OSCL_HAS_BASIC_LOCK )</span> 19300394 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR: OSCL_HAS_BASIC_LOCK must be defined to 0 or 1"</span> 19400395 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 19500396 <span class="preprocessor"></span> 19600397 19700407 <span class="preprocessor">#if (OSCL_HAS_BASIC_LOCK) && !defined(TOsclBasicLockObject)</span> 19800408 <span class="preprocessor"></span><span class="keyword">typedef</span> TOsclBasicLockObject __verify__TOsclBasicLockObject__defined__; 19900409 <span class="preprocessor">#endif</span> 20000410 <span class="preprocessor"></span> 20100413 <span class="preprocessor">#endif // OSCLCONFIG_CHECK_H_INCLUDED</span> 20200414 <span class="preprocessor"></span> 20300415 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