X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Finternal.h;h=2392e1652504204a4e23d252d4d61fac9c3247e2;hb=fc99d3a2a4d6b5d39c59863b514132b234a44d4d;hp=21df6fd4c5360f4e0e202dfaecdf09cf07538b73;hpb=932cfaae2176c2eba1a9938dc420591a9551a7f3;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/internal.h b/saml/internal.h index 21df6fd..2392e16 100644 --- a/saml/internal.h +++ b/saml/internal.h @@ -41,6 +41,8 @@ #include +using namespace xercesc; + // C99 defines LLONG_MIN, LLONG_MAX and ULLONG_MAX, but this part of // C99 is not yet included into the C++ standard. // GCC defines LONG_LONG_MIN, LONG_LONG_MAX and ULONG_LONG_MAX. @@ -73,7 +75,7 @@ #if SIZEOF_TIME_T == 8 # define SAMLTIME_MAX LLONG_MAX #elif SIZEOF_TIME_T == 4 -# define SAMLTIME_MAX LONG_MAX +# define SAMLTIME_MAX INT_MAX #endif #define SAML_LOGCAT "OpenSAML" @@ -98,8 +100,6 @@ namespace opensaml { std::string hashSHA1(const char* data, bool toHex=false); private: }; - - void log_openssl(); /// @endcond };