gil_config.hpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2005-2007 Adobe Systems Incorporated
00003    
00004     Use, modification and distribution are subject to the Boost Software License,
00005     Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
00006     http://www.boost.org/LICENSE_1_0.txt).
00007 
00008     See http://opensource.adobe.com/gil for most recent version including documentation.
00009 */
00010 
00011 /*************************************************************************************************/
00012 
00013 #ifndef GIL_CONFIG_HPP
00014 #define GIL_CONFIG_HPP
00015 
00023 
00024 #include <boost/config.hpp>
00025 
00026 #define GIL_VERSION 2.1
00027 
00028 #ifdef _DEBUG
00029 #    define GIL_FORCEINLINE inline
00030 #else
00031 #ifdef NDEBUG
00032 #if   defined(_MSC_VER)
00033 #    define GIL_FORCEINLINE __forceinline
00034 #elif defined(__GNUC__) && __GNUC__ > 3
00035 #    define GIL_FORCEINLINE inline __attribute__ ((always_inline))
00036 #else
00037 #    define GIL_FORCEINLINE inline
00038 #endif
00039 #else
00040 #    define GIL_FORCEINLINE inline
00041 #endif
00042 #endif
00043 
00044 
00045 #endif

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google