diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-15 16:40:32 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:26 +0100 |
commit | f744d3bc9fb98491c0b7105eac867b1d3a355d47 (patch) | |
tree | 9f13873dbcb28521b8513cfd8c9e51cb9725701f | |
parent | b751f2389399a58a4e1c402982eec903199a4af3 (diff) | |
download | samba-f744d3bc9fb98491c0b7105eac867b1d3a355d47.tar.gz samba-f744d3bc9fb98491c0b7105eac867b1d3a355d47.tar.bz2 samba-f744d3bc9fb98491c0b7105eac867b1d3a355d47.zip |
r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific
metze
(This used to be commit d19ab62081ce4ee4273ff752ad0443782a994826)
-rw-r--r-- | source4/lib/replace/libreplace_cc.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4 index 3f0a337083..bf5056838d 100644 --- a/source4/lib/replace/libreplace_cc.m4 +++ b/source4/lib/replace/libreplace_cc.m4 @@ -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. # |