gil_config.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
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.2"
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
00046 #if !defined(__hpux) && !defined(sun) && !defined(__sun) && !defined(__osf__)
00047 #define GIL_NONWORD_POINTER_ALIGNMENT_SUPPORTED
00048 #endif
00049
00050 #endif