summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-11 10:32:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:21 -0500
commit3f513415282a8d6e1633fcb36e04979d63fd254a (patch)
tree6f74134b2821cfbbc085a38399806a4bc9d10d33 /source4/lib
parentc87a08425cbb23df1909db3287073e834ce25491 (diff)
downloadsamba-3f513415282a8d6e1633fcb36e04979d63fd254a.tar.gz
samba-3f513415282a8d6e1633fcb36e04979d63fd254a.tar.bz2
samba-3f513415282a8d6e1633fcb36e04979d63fd254a.zip
r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
thanks to volker for the suggestion (This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 060d0feefa..b428870a87 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -29,6 +29,12 @@ AH_VERBATIM([_XOPEN_SOURCE_EXTENDED],
# define _XOPEN_SOURCE_EXTENDED 1
#endif])
+AH_VERBATIM([_OSF_SOURCE],
+[/* Enable OSF extensions on systems that have them. */
+#ifndef _OSF_SOURCE
+# define _OSF_SOURCE 1
+#endif])
+
LIBREPLACE_C99_STRUCT_INIT([],[])
AC_SYS_LARGEFILE