svn commit: r240292 - head/contrib/sendmail/include/libmilter

Gregory Neil Shapiro gshapiro at FreeBSD.org
Mon Sep 10 01:15:52 UTC 2012


Author: gshapiro
Date: Mon Sep 10 01:15:51 2012
New Revision: 240292
URL: http://svn.freebsd.org/changeset/base/240292

Log:
  Properly define true/false when defining __bool_true_false_are_defined
  for filters which pull in mfapi.h before stdbool.h.  Issue reported by
  Petr Rehor, maintainer of amavisd-milter port.
  
  MFC after:	3 days

Modified:
  head/contrib/sendmail/include/libmilter/mfapi.h

Modified: head/contrib/sendmail/include/libmilter/mfapi.h
==============================================================================
--- head/contrib/sendmail/include/libmilter/mfapi.h	Sun Sep  9 22:12:15 2012	(r240291)
+++ head/contrib/sendmail/include/libmilter/mfapi.h	Mon Sep 10 01:15:51 2012	(r240292)
@@ -96,6 +96,8 @@ typedef int	sfsistat;
 #  ifndef bool
 #   ifndef __bool_true_false_are_defined
 typedef int	bool;
+#    define false	0
+#    define true	1
 #    define __bool_true_false_are_defined	1
 #   endif /* ! __bool_true_false_are_defined */
 #  endif /* bool */


More information about the svn-src-all mailing list