Date: Sat, 29 Dec 2012 19:13:17 +0000 (UTC) From: Gregory Neil Shapiro <gshapiro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r244829 - stable/7/contrib/sendmail/include/libmilter Message-ID: <201212291913.qBTJDHHK032529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gshapiro Date: Sat Dec 29 19:13:16 2012 New Revision: 244829 URL: http://svnweb.freebsd.org/changeset/base/244829 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/7/contrib/sendmail/include/libmilter/mfapi.h Directory Properties: stable/7/contrib/sendmail/ (props changed) Modified: stable/7/contrib/sendmail/include/libmilter/mfapi.h ============================================================================== --- stable/7/contrib/sendmail/include/libmilter/mfapi.h Sat Dec 29 19:12:38 2012 (r244828) +++ stable/7/contrib/sendmail/include/libmilter/mfapi.h Sat Dec 29 19:13:16 2012 (r244829) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212291913.qBTJDHHK032529>