]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/gil/doc/html/g_i_l_0093.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / gil / doc / html / g_i_l_0093.html
CommitLineData
7c673cae
FG
1<!-- Copyright 2008 Lubomir Bourdev and Hailin Jin
2
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
6 -->
7
8<!--
9 Copyright 2005-2007 Adobe Systems Incorporated
10 Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
11 or a copy at http://stlab.adobe.com/licenses.html)
12
13 Some files are held under additional license.
14 Please see "http://stlab.adobe.com/licenses.html" for more information.
15-->
16
17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
20
21<head>
22 <TITLE>Generic Image Library: gil_config.hpp Source File</TITLE>
23 <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/>
24 <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/>
25</head>
26<body>
27<table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr>
28<td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'>
29<div class="qindex"><a class="qindex" href="index.html">Modules</a>
30 | <a class="qindex" href="classes.html">Alphabetical List</a>
31 | <a class="qindex" href="annotated.html">Class List</a>
32 | <a class="qindex" href="dirs.html">Directories</a>
33 | <a class="qindex" href="files.html">File List</a>
34 | <a class="qindex" href="../index.html">GIL Home Page</a>
35</div>
36<!-- End Header -->
37<!-- Generated by Doxygen 1.5.6 -->
38 <div class="navpath"><a class="el" href="g_i_l_0076.html">boost</a>&nbsp;&raquo&nbsp;<a class="el" href="g_i_l_0079.html">gil</a>
39 </div>
40<div class="contents">
41<h1>gil_config.hpp</h1><a href="g_i_l_0094.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
42<a name="l00002"></a>00002 <span class="comment"> Copyright 2005-2007 Adobe Systems Incorporated</span>
43<a name="l00003"></a>00003 <span class="comment"> </span>
44<a name="l00004"></a>00004 <span class="comment"> Use, modification and distribution are subject to the Boost Software License,</span>
45<a name="l00005"></a>00005 <span class="comment"> Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at</span>
46<a name="l00006"></a>00006 <span class="comment"> http://www.boost.org/LICENSE_1_0.txt).</span>
47<a name="l00007"></a>00007 <span class="comment"></span>
48<a name="l00008"></a>00008 <span class="comment"> See http://opensource.adobe.com/gil for most recent version including documentation.</span>
49<a name="l00009"></a>00009 <span class="comment">*/</span>
50<a name="l00010"></a>00010
51<a name="l00011"></a>00011 <span class="comment">/*************************************************************************************************/</span>
52<a name="l00012"></a>00012
53<a name="l00013"></a>00013 <span class="preprocessor">#ifndef GIL_CONFIG_HPP</span>
54<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define GIL_CONFIG_HPP</span>
55<a name="l00015"></a>00015 <span class="preprocessor"></span>
56<a name="l00023"></a>00023
57<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;boost/config.hpp&gt;</span>
58<a name="l00025"></a>00025
59<a name="l00026"></a>00026 <span class="preprocessor">#define GIL_VERSION "2.1.2"</span>
60<a name="l00027"></a>00027 <span class="preprocessor"></span>
61<a name="l00028"></a>00028 <span class="preprocessor">#ifdef _DEBUG</span>
62<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor"># define GIL_FORCEINLINE inline</span>
63<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#else</span>
64<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#ifdef NDEBUG</span>
65<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#if defined(_MSC_VER)</span>
66<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor"># define GIL_FORCEINLINE __forceinline</span>
67<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#elif defined(__GNUC__) &amp;&amp; __GNUC__ &gt; 3</span>
68<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor"># define GIL_FORCEINLINE inline __attribute__ ((always_inline))</span>
69<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#else</span>
70<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor"># define GIL_FORCEINLINE inline</span>
71<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
72<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#else</span>
73<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor"># define GIL_FORCEINLINE inline</span>
74<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
75<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
76<a name="l00043"></a>00043 <span class="preprocessor"></span>
77<a name="l00044"></a>00044 <span class="comment">// Enable GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED if your platform supports dereferencing on non-word memory boundary.</span>
78<a name="l00045"></a>00045 <span class="comment">// Enabling the flag results in performance improvement</span>
79<a name="l00046"></a>00046 <span class="preprocessor">#if !defined(__hpux) &amp;&amp; !defined(sun) &amp;&amp; !defined(__sun) &amp;&amp; !defined(__osf__)</span>
80<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor"> #define GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED</span>
81<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
82<a name="l00049"></a>00049 <span class="preprocessor"></span>
83<a name="l00050"></a>00050 <span class="preprocessor">#endif</span>
84</pre></div></div>
85<hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:13 2009 for Generic Image Library by&nbsp;
86<a href="http://www.doxygen.org/index.html">
87<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
88</body>
89</html>