Rename boolean to wxjpeg_boolean to avoid conflicts, e.g. with boolean
defined in the Windows headers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2958,12 +2958,6 @@ if test "$USE_WIN32" = 1 ; then
|
||||
dnl install Win32-specific files in "make install"
|
||||
WIN32INSTALL=win32install
|
||||
|
||||
dnl the jpeg header jmorecfg.h delcares the type boolean, which conflicts
|
||||
dnl on systems which declare it in the system headers. If HAVE_BOOLEAN is
|
||||
dnl defined then jmorecfg.h doesn't declare it, so checking for it here
|
||||
dnl solves the problem.
|
||||
AC_CHECK_TYPES(boolean, [], [], [#include <windows.h>])
|
||||
|
||||
dnl pbt.h is missing on Wine at least
|
||||
AC_CHECK_HEADERS(pbt.h, [], [AC_DEFINE(NEED_PBT_H)])
|
||||
fi
|
||||
|
Reference in New Issue
Block a user