X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Finternal.h;h=0877395880ccf4d5087649c3b545dbbde5c52ba8;hp=7caa141eedaafa1591e79d6d5d12f6fa8be337a0;hb=444e963672e4136f5a18c9b9014e0a92e350de7f;hpb=12d8e6ed0125ea986a8eb78ea177b6d6f0251fd6 diff --git a/saml/internal.h b/saml/internal.h index 7caa141..0877395 100644 --- a/saml/internal.h +++ b/saml/internal.h @@ -70,6 +70,12 @@ #endif #endif +#if SIZEOF_TIME_T == 8 +# define SAMLTIME_MAX LLONG_MAX +#elif SIZEOF_TIME_T == 4 +# define SAMLTIME_MAX LONG_MAX +#endif + #define SAML_LOGCAT "OpenSAML" namespace opensaml {