pgi-7.1 has testable version macros, yeah!

[SVN r43781]
This commit is contained in:
K. Noel Belcourt
2008-03-21 21:04:36 +00:00
parent db33faa680
commit a593af70bb

View File

@ -7,6 +7,7 @@
// PGI C++ compiler setup: // PGI C++ compiler setup:
#define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__
#define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) #define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(_COMPILER_VERSION)
// //
@ -15,10 +16,17 @@
// if no threading API is detected. // if no threading API is detected.
// //
#if (__PGIC__ == 7) && (__PGIC_MINOR__ == 1)
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#define BOOST_NO_SWPRINTF #define BOOST_NO_SWPRINTF
#else
# error "Pgi compiler not configured - please reconfigure"
#endif
// //
// version check: // version check:
// probably nothing to do here? // probably nothing to do here?