define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c25e6f326b
commit
65baafba0e
@ -134,6 +134,10 @@ case "${host}" in
|
|||||||
NEEDS_D_REENTRANT_FOR_R_FUNCS=1
|
NEEDS_D_REENTRANT_FOR_R_FUNCS=1
|
||||||
SO_SUFFIX=sl
|
SO_SUFFIX=sl
|
||||||
AC_DEFINE(__HPUX__)
|
AC_DEFINE(__HPUX__)
|
||||||
|
|
||||||
|
dnl many standard declarations in HP-UX headers are only included if either
|
||||||
|
dnl _HPUX_SOURCE is defined, see stdsyms(5)
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
|
||||||
;;
|
;;
|
||||||
*-*-linux* )
|
*-*-linux* )
|
||||||
USE_LINUX=1
|
USE_LINUX=1
|
||||||
@ -7139,6 +7143,9 @@ if test $GCC_PCH = 1 ; then
|
|||||||
CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
|
CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl TOOLCHAIN_DEFS are used by wx-config but should be also used for wx build
|
||||||
|
dnl itself
|
||||||
|
CPPFLAGS="$CPPFLAGS $TOOLCHAIN_DEFS"
|
||||||
|
|
||||||
dnl for convenience, sort the samples in alphabetical order
|
dnl for convenience, sort the samples in alphabetical order
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user