svn commit: samba r17184 - in branches/SAMBA_3_0/source: .

vlendec at samba.org vlendec at samba.org
Sat Jul 22 16:40:58 GMT 2006


Author: vlendec
Date: 2006-07-22 16:40:58 +0000 (Sat, 22 Jul 2006)
New Revision: 17184

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17184

Log:
Attempt to get rid of some warnings on HP/UX. Without _XOPEN_SOURCE_EXTENDED
#defined getsockopt uses an int* as socklen parameter.

Volker

Modified:
   branches/SAMBA_3_0/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2006-07-22 00:53:19 UTC (rev 17183)
+++ branches/SAMBA_3_0/source/configure.in	2006-07-22 16:40:58 UTC (rev 17184)
@@ -628,6 +628,7 @@
 				AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to use large file support])
 				AC_DEFINE(_ALIGNMENT_REQUIRED, 1, [Required alignment])
 				AC_DEFINE(_MAX_ALIGNMENT, 4, [Maximum alignment])
+				AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Unix 98 sources -- needed for socklen_t in getsockopt on HP/UX 11])
 				;;
       esac
       ;;



More information about the samba-cvs mailing list