r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
authorAndrew Tridgell <tridge@samba.org>
Mon, 11 Sep 2006 10:32:39 +0000 (10:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:21 +0000 (14:18 -0500)
thanks to volker for the suggestion
(This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)

source4/lib/replace/libreplace.m4

index 060d0feefae57c33b013a2d83b4593a649038eee..b428870a87316cb72004a2e01c73a5ca5826fda7 100644 (file)
@@ -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