projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle 32-bit time size
[shibboleth/cpp-opensaml.git]
/
saml
/
internal.h
diff --git
a/saml/internal.h
b/saml/internal.h
index
7caa141
..
0877395
100644
(file)
--- 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 {