svn commit: samba r17157 - in branches/SAMBA_4_0/source/lib/talloc: .

metze at samba.org metze at samba.org
Thu Jul 20 14:35:41 GMT 2006


Author: metze
Date: 2006-07-20 14:35:41 +0000 (Thu, 20 Jul 2006)
New Revision: 17157

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

Log:
bail out if sizeof(size_t) < sizeof(void *)

metze
Modified:
   branches/SAMBA_4_0/source/lib/talloc/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/config.m4	2006-07-20 12:51:42 UTC (rev 17156)
+++ branches/SAMBA_4_0/source/lib/talloc/config.m4	2006-07-20 14:35:41 UTC (rev 17157)
@@ -12,3 +12,7 @@
 AC_CHECK_SIZEOF(size_t,cross)
 AC_CHECK_SIZEOF(ssize_t,cross)
 AC_CHECK_SIZEOF(void *,cross)
+
+if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then
+	AC_ERROR([sizeof(size_t) < sizeof(void *)])
+fi



More information about the samba-cvs mailing list