2 Copyright 2005-2007 Adobe Systems Incorporated
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).
8 See http://opensource.adobe.com/gil for most recent version including documentation.
11 /*************************************************************************************************/
13 #ifndef GIL_CONFIG_HPP
14 #define GIL_CONFIG_HPP
16 ////////////////////////////////////////////////////////////////////////////////////////
18 /// \brief GIL configuration file
19 /// \author Lubomir Bourdev and Hailin Jin \n
20 /// Adobe Systems Incorporated
22 ////////////////////////////////////////////////////////////////////////////////////////
24 #include <boost/config.hpp>
26 #define GIL_VERSION "2.1.2"
29 # define GIL_FORCEINLINE inline
33 # define GIL_FORCEINLINE __forceinline
34 #elif defined(__GNUC__) && __GNUC__ > 3
35 # define GIL_FORCEINLINE inline __attribute__ ((always_inline))
37 # define GIL_FORCEINLINE inline
40 # define GIL_FORCEINLINE inline
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