1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r25976: libreplace: not all platforms like _XOPEN_SOURCE=600

- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

metze
(cherry picked from commit d19ab62081ce4ee4273ff752ad0443782a994826)
(This used to be commit dbff70b2ebe7cc09f7fbe5a0319f978dfcfa1da9)
This commit is contained in:
Stefan Metzmacher 2007-11-15 16:40:32 +01:00
parent f75898d5b5
commit 0e1348869e

View File

@ -49,8 +49,6 @@ AC_PROG_INSTALL
AC_ISC_POSIX
AC_N_DEFINE(_XOPEN_SOURCE_EXTENDED)
AC_N_DEFINE(_XOPEN_SOURCE,600)
AC_N_DEFINE(_OSF_SOURCE)
AC_SYS_LARGEFILE
@ -78,6 +76,11 @@ case "$host_os" in
CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
fi
;;
*osf*)
# this brings in socklen_t
AC_N_DEFINE(_XOPEN_SOURCE,600)
AC_N_DEFINE(_OSF_SOURCE)
;;
#
# VOS may need to have POSIX support and System V compatibility enabled.
#