mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:20:54 +00:00
Fix for build bustage on Solaris 2.3.
This commit is contained in:
parent
a66bc4d3ca
commit
2905ebcc71
@ -770,8 +770,7 @@ dnl the qsort routine under solaris is faulty
|
||||
_WARNINGS_CFLAGS=''
|
||||
_WARNINGS_CXXFLAGS=''
|
||||
if test "$OS_RELEASE" = "5.3"; then
|
||||
dnl So jmorecfg.h won't redefine boolean.
|
||||
AC_DEFINE(HAVE_BOOLEAN)
|
||||
AC_DEFINE(MUST_UNDEF_HAVE_BOOLEAN_AFTER_INCLUDES)
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
@ -252,6 +252,13 @@ typedef unsigned int JDIMENSION;
|
||||
* than fight.
|
||||
*/
|
||||
|
||||
/* For some reason, on SunOS 5.3 HAVE_BOOLEAN gets defined when using
|
||||
* gcc, but boolean doesn't. Even if you use -UHAVE_BOOLEAN, it still
|
||||
* gets reset somewhere.
|
||||
*/
|
||||
#if defined(MUST_UNDEF_HAVE_BOOLEAN_AFTER_INCLUDES) && defined(HAVE_BOOLEAN)
|
||||
#undef HAVE_BOOLEAN
|
||||
#endif
|
||||
#ifndef HAVE_BOOLEAN
|
||||
typedef unsigned char boolean;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user