Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > a65517607ef053b8c8e6c720e8c36e77 > files > 251

libsmbios-devel-2.2.26-3.fc14.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libsmbios_c library: /builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios/config/select_stdlib_config.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>/builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios/config/select_stdlib_config.hpp</h1>  </div>
</div>
<div class="contents">
<a href="select__stdlib__config_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//  Boost compiler configuration selection header file</span>
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="comment">//  (C) Copyright John Maddock 2001 - 2003. </span>
<a name="l00004"></a>00004 <span class="comment">//  (C) Copyright Jens Maurer 2001 - 2002. </span>
<a name="l00005"></a>00005 <span class="comment">//  Use, modification and distribution are subject to the </span>
<a name="l00006"></a>00006 <span class="comment">//  Boost Software License, Version 1.0. (See accompanying file </span>
<a name="l00007"></a>00007 <span class="comment">//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 <span class="comment">//  See http://www.boost.org for most recent version.</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="comment">// locate which std lib we are using and define LIBSMBIOS_STDLIB_CONFIG as needed:</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="comment">// we need to include a std lib header here in order to detect which</span>
<a name="l00015"></a>00015 <span class="comment">// library is in use, use &lt;utility&gt; as it&#39;s about the smallest</span>
<a name="l00016"></a>00016 <span class="comment">// of the std lib headers - do not rely on this header being included -</span>
<a name="l00017"></a>00017 <span class="comment">// users can short-circuit this header if they know whose std lib</span>
<a name="l00018"></a>00018 <span class="comment">// they are using.</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;utility&gt;</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="comment">// STLPort library; this _must_ come first, otherwise since</span>
<a name="l00024"></a>00024 <span class="comment">// STLport typically sits on top of some other library, we</span>
<a name="l00025"></a>00025 <span class="comment">// can end up detecting that first rather than STLport:</span>
<a name="l00026"></a>00026 <span class="preprocessor">#  define LIBSMBIOS_STDLIB_CONFIG &quot;smbios/config/stdlib/stlport.hpp&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span>
<a name="l00028"></a>00028 <span class="preprocessor">#elif defined(__GLIBCPP__)</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="comment">// GNU libstdc++ 3</span>
<a name="l00030"></a>00030 <span class="preprocessor">#  define LIBSMBIOS_STDLIB_CONFIG &quot;smbios/config/stdlib/libstdcpp3.hpp&quot;</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a>00032 <span class="preprocessor">#elif defined( __GNUC__ ) </span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="comment">// GNU libstdc++ &lt; 3  ?? maybe there is a better test for this?</span>
<a name="l00034"></a>00034 <span class="preprocessor">#  define LIBSMBIOS_STDLIB_CONFIG &quot;smbios/config/stdlib/libstdcpp2.hpp&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#elif defined (LIBSMBIOS_ASSERT_CONFIG)</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="comment">// this must come last - generate an error if we don&#39;t</span>
<a name="l00038"></a>00038 <span class="comment">// recognise the library:</span>
<a name="l00039"></a>00039 <span class="preprocessor">#  error &quot;Unknown standard library - please configure and report the results to libsmbios maintainer.&quot;</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span>
<a name="l00041"></a>00041 <span class="preprocessor">#endif</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Oct 5 2010 for libsmbios_c library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>