svn commit: r244827 - stable/9/contrib/sendmail/include/libmilter

Gregory Neil Shapiro gshapiro at FreeBSD.org
Sat Dec 29 19:06:05 UTC 2012


Author: gshapiro
Date: Sat Dec 29 19:06:04 2012
New Revision: 244827
URL: http://svnweb.freebsd.org/changeset/base/244827

Log:
  MFC: 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.

Modified:
  stable/9/contrib/sendmail/include/libmilter/mfapi.h
Directory Properties:
  stable/9/contrib/sendmail/   (props changed)

Modified: stable/9/contrib/sendmail/include/libmilter/mfapi.h
==============================================================================
--- stable/9/contrib/sendmail/include/libmilter/mfapi.h	Sat Dec 29 18:40:47 2012	(r244826)
+++ stable/9/contrib/sendmail/include/libmilter/mfapi.h	Sat Dec 29 19:06:04 2012	(r244827)
@@ -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-stable-9 mailing list