From: cantor Date: Sat, 15 Mar 2008 03:11:43 +0000 (+0000) Subject: Add min macro for Solaris. X-Git-Tag: 2.4~509 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=c6694f5707d4ddff14446f180d52ff6059ecce85 Add min macro for Solaris. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2778 cb58f699-b61c-0410-a6fe-9272a202ed29 --- 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;