From: Scott Cantor Date: Sat, 15 Mar 2008 03:11:43 +0000 (+0000) Subject: Add min macro for Solaris. X-Git-Tag: 2.0.0~9 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=d6651596645bb37d8b153e73c7324c45f2ff98b8 Add min macro for Solaris. --- diff --git a/adfs/adfs.cpp b/adfs/adfs.cpp index c22ce2a..b900bdc 100644 --- a/adfs/adfs.cpp +++ b/adfs/adfs.cpp @@ -61,6 +61,9 @@ # include # include using namespace opensaml::saml2md; +# ifndef min +# define min(a,b) (((a) < (b)) ? (a) : (b)) +# endif #endif using namespace shibsp; using namespace opensaml;