forked from boostorg/config
config: merge from trunk for new C++0x macros
[SVN r51606]
This commit is contained in:
1 parent
f9a83ce4f3
commit
4083190c8b
71 files changed
+1991
-92
No files matched your search
@@ -0,0 +1,36 @@
|
||||
// (C) Copyright John Maddock 2001.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// See http://www.boost.org/libs/config for most recent version.
|
||||
|
||||
// MACRO: BOOST_NO_LONG_LONG
|
||||
// TITLE: C++0x long long unavailable
|
||||
// DESCRIPTION: The platform does not support C++0x long long.
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
namespace boost_no_long_long{
|
||||
|
||||
int test()
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
__extension__ long long lli = 0LL;
|
||||
__extension__ unsigned long long ulli = 0uLL;
|
||||
#else
|
||||
long long lli = 0LL;
|
||||
unsigned long long ulli = 0uLL;
|
||||
#endif
|
||||
(void)&lli;
|
||||
(void)&ulli;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user