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