projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
https://issues.shibboleth.net/jira/browse/CPPOST-80
[shibboleth/cpp-opensaml.git]
/
saml
/
internal.h
diff --git
a/saml/internal.h
b/saml/internal.h
index
774f7fe
..
a017016
100644
(file)
--- a/
saml/internal.h
+++ b/
saml/internal.h
@@
-80,11
+80,7
@@
using namespace xercesc;
#endif
#endif
-#if SIZEOF_TIME_T == 8
-# define SAMLTIME_MAX LLONG_MAX
-#elif SIZEOF_TIME_T == 4
-# define SAMLTIME_MAX INT_MAX
-#endif
+#define SAMLTIME_MAX (sizeof(time_t) == 8 ? LLONG_MAX : INT_MAX)
#define SAML_LOGCAT "OpenSAML"