Merge pull request #5 from Belcourt/develop

Add check that BOOST_HAS_LONG_LONG is supported on Darwin
This commit is contained in:
Noel Belcourt
2014-02-05 10:32:07 -07:00

View File

@ -74,8 +74,12 @@
// //
// gcc has "long long" // gcc has "long long"
// Except on Darwin with standard compliance enabled (-pedantic)
// Apple gcc helpfully defines this macro we can query
// //
#define BOOST_HAS_LONG_LONG #if !defined(__DARWIN_NO_LONG_LONG)
# define BOOST_HAS_LONG_LONG
#endif
// //
// gcc implements the named return value optimization since version 3.1 // gcc implements the named return value optimization since version 3.1