[cpp-sp] 07/09: REMOVABLE bodge to get compiling

Rod Widdowson rdw at steadingsoftware.com
Thu Jan 9 16:45:22 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch dev/vc22-dev
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=9a3fe16a6a910a536f4f880ef4878d92dbc51437

commit 9a3fe16a6a910a536f4f880ef4878d92dbc51437
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jan 8 14:54:11 2025 +0000

    REMOVABLE bodge to get compiling
---
 shibsp/util/Date.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/shibsp/util/Date.h b/shibsp/util/Date.h
index 3fc1f74f..ee934fe4 100644
--- a/shibsp/util/Date.h
+++ b/shibsp/util/Date.h
@@ -32,6 +32,15 @@
 // been invented (that would involve another several millennia of evolution).
 // We did not mean to shout.
 
+#ifdef min
+#undef min
+#endif
+
+#ifdef max
+#undef max
+#endif
+
+
 #ifndef HAS_STRING_VIEW
 #  if __cplusplus >= 201703 || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
 #    define HAS_STRING_VIEW 1

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list