From 3f513415282a8d6e1633fcb36e04979d63fd254a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Sep 2006 10:32:39 +0000 Subject: 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) --- source4/lib/replace/libreplace.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/lib/replace') 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 -- cgit