Fix compilation on Solaris after last boost upgrade.

This commit is contained in:
Enrico Forestieri 2014-05-29 22:31:16 +02:00
parent 00547009c2
commit bc00159530
2 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,7 @@ http://www.boost.org/LICENSE_1_0.txt)
# if !defined(BOOST_ARCH_SPARC) && defined(__sparcv8)
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0)
# endif
# if !defined(BOOST_ARCH_SPARC) &&
# if !defined(BOOST_ARCH_SPARC)
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif

View File

@ -295,6 +295,12 @@ char * strerror(int n);
# define BOOST_POSIX_PATH 1
#endif
#ifdef __sparc__
# ifndef __BIG_ENDIAN__
# define __BIG_ENDIAN__ 1
# endif
#endif
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
# define USE_WCHAR_T
#endif