From c6694f5707d4ddff14446f180d52ff6059ecce85 Mon Sep 17 00:00:00 2001 From: cantor Date: Sat, 15 Mar 2008 03:11:43 +0000 Subject: [PATCH] Add min macro for Solaris. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2778 cb58f699-b61c-0410-a6fe-9272a202ed29 --- adfs/adfs.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.1.4