1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

r5040: attempt to get solaris10 building by defining _XOPEN_SOURCE

(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)
This commit is contained in:
Andrew Tridgell 2005-01-27 09:33:16 +00:00 committed by Gerald (Jerry) Carter
parent 5aedcc2066
commit 425543c76a

View File

@ -9,6 +9,15 @@ AC_SUBST(SONAMEFLAG)
AC_SUBST(PICFLAG)
AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
# The definition of _GNU_SOURCE potentially causes a change of the value
# of _XOPEN_SOURCE. So define it only conditionally.
AH_VERBATIM([_XOPEN_SOURCE],
[/* Define on UNIX to activate XPG/5 features. */
#if !defined(_XOPEN_SOURCE)
# define _XOPEN_SOURCE 500
#endif])
AC_SYS_LARGEFILE
#