A better compile fix for Wine (which lacks pbt.h).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2836,6 +2836,9 @@ if test "$USE_WIN32" = 1 ; then
|
||||
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
|
||||
|
||||
if test "$wxUSE_GUI" = "yes"; then
|
||||
|
Reference in New Issue
Block a user