commit bc001595302ee63f0c1a4c07a6e15f04ec7143eb Author: Enrico Forestieri <for...@lyx.org> Date: Thu May 29 22:31:16 2014 +0200
Fix compilation on Solaris after last boost upgrade. diff --git a/boost/boost/predef/architecture/sparc.h b/boost/boost/predef/architecture/sparc.h index 30207a0..0faa9d4 100644 --- a/boost/boost/predef/architecture/sparc.h +++ b/boost/boost/predef/architecture/sparc.h @@ -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 diff --git a/configure.ac b/configure.ac index a3d699d..9b87677 100644 --- a/configure.ac +++ b/configure.ac @@ -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