Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/gil/gil_config.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 /* | |
2 Copyright 2005-2007 Adobe Systems Incorporated | |
3 | |
4 Use, modification and distribution are subject to the Boost Software License, | |
5 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
6 http://www.boost.org/LICENSE_1_0.txt). | |
7 | |
8 See http://opensource.adobe.com/gil for most recent version including documentation. | |
9 */ | |
10 | |
11 /*************************************************************************************************/ | |
12 | |
13 #ifndef GIL_CONFIG_HPP | |
14 #define GIL_CONFIG_HPP | |
15 | |
16 //////////////////////////////////////////////////////////////////////////////////////// | |
17 /// \file | |
18 /// \brief GIL configuration file | |
19 /// \author Lubomir Bourdev and Hailin Jin \n | |
20 /// Adobe Systems Incorporated | |
21 /// | |
22 //////////////////////////////////////////////////////////////////////////////////////// | |
23 | |
24 #include <boost/config.hpp> | |
25 | |
26 #define GIL_VERSION "2.1.2" | |
27 | |
28 #ifdef _DEBUG | |
29 # define GIL_FORCEINLINE inline | |
30 #else | |
31 #ifdef NDEBUG | |
32 #if defined(_MSC_VER) | |
33 # define GIL_FORCEINLINE __forceinline | |
34 #elif defined(__GNUC__) && __GNUC__ > 3 | |
35 # define GIL_FORCEINLINE inline __attribute__ ((always_inline)) | |
36 #else | |
37 # define GIL_FORCEINLINE inline | |
38 #endif | |
39 #else | |
40 # define GIL_FORCEINLINE inline | |
41 #endif | |
42 #endif | |
43 | |
44 // Enable GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED if your platform supports dereferencing on non-word memory boundary. | |
45 // Enabling the flag results in performance improvement | |
46 #if !defined(__hpux) && !defined(sun) && !defined(__sun) && !defined(__osf__) | |
47 #define GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED | |
48 #endif | |
49 | |
50 #endif |