]> git.lyx.org Git - lyx.git/commitdiff
Fix compilation on Solaris after last boost upgrade.
authorEnrico Forestieri <forenr@lyx.org>
Thu, 29 May 2014 20:31:16 +0000 (22:31 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 29 May 2014 20:31:56 +0000 (22:31 +0200)
boost/boost/predef/architecture/sparc.h
configure.ac

index 30207a052bf2fa063940fa04fd053ecb0aa131ee..0faa9d4958d09bfa399f01330378b07bef689bbd 100644 (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
index a3d699db4e3e9006e964deb017af7e9fdd76e533..9b87677294c63cb52dc3b66b1df7e00e7a0022de 100644 (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