[M-git] Mahogany sources repository. branch master updated. v0.67-807-g3dfac881
Vadim Zeitlin via Mahogany-cvsupdates <[email protected]> Sun, 22 Nov 2020 22:26:33 +0000
| Newsgroups | gmane.mail.mahogany.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Mahogany sources repository.".
The branch, master has been updated
via 3dfac8814400d46cc8ed7ade7ad4656a06c103d2 (commit)
from e3c352d7c60b383728918d290701d36ba0a45552 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3dfac8814400d46cc8ed7ade7ad4656a06c103d2
Author: Vadim Zeitlin <[email protected]>
Date: Sun Nov 22 23:24:29 2020 +0100
Undefine min after including c-client headers too
Fix compilation error with MSVS 16.8 which now uses min() in its <list>
header and so got broken by its redefinition in c-client.
This should have been done back in 83b36c04d (Undefine max after include
c=client headers to fix compilation., 2012-01-09).
diff --git a/include/Mcclient.h b/include/Mcclient.h
index 438f76b9..8ea77ae6 100644
--- a/include/Mcclient.h
+++ b/include/Mcclient.h
@@ -60,8 +60,9 @@ extern "C"
# undef SendMessage
# endif // OS_WIN
- // misc.h redefines max as Max breaking standard headers compilation
+ // misc.h redefines min/max as Min/Max breaking standard headers compilation
# undef max
+# undef min
// finally it also defines the name commonly used as C++ template parameter!
# undef T
-----------------------------------------------------------------------
Summary of changes:
include/Mcclient.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
Mahogany sources repository.