diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-11-26 21:18:17 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-11-26 21:18:17 +0000 |
commit | f8b24cf5f7e1708f56b241323e213ed4fbb06dc9 (patch) | |
tree | b8c53176cdd29eb6d3e3bae4e35430b0f738cc7a /libcxx/include/__config | |
parent | e25344225dde6f94bd2e3fc2be870a7c749666d8 (diff) | |
download | bcm5719-llvm-f8b24cf5f7e1708f56b241323e213ed4fbb06dc9.tar.gz bcm5719-llvm-f8b24cf5f7e1708f56b241323e213ed4fbb06dc9.zip |
Dimitry Andric: When using libc++ headers on FreeBSD, in combination with -std=c++98,
-ansi or -std=c++03, the long long type is not supported. So in this
case, several functions and types, like lldiv_t, strtoll(), are not
declared.
llvm-svn: 168610
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r-- | libcxx/include/__config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 2bbe1d97242..203be7616cc 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -51,6 +51,9 @@ # define _LIBCPP_LITTLE_ENDIAN 0 # define _LIBCPP_BIG_ENDIAN 1 # endif // _BYTE_ORDER == _LITTLE_ENDIAN +# ifndef __LONG_LONG_SUPPORTED +# define _LIBCPP_HAS_NO_LONG_LONG +# endif // __LONG_LONG_SUPPORTED #endif // __FreeBSD__ #ifdef _WIN32 |