From 1dfa922606e497918e57a6a06f96ee63b7fb163e Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Tue, 23 May 2023 15:04:17 +0200 Subject: Remove the manual undef of the min/max macros, or def NOMINMAX We now add NOMINMAX to PlatformCommonInternal target which will be linked to everything else, so min/max will not be defined upon the inclusion of `windows.h`, or other headers. Pick-to: 6.5 6.6 Change-Id: I10016720dac7ce015e929885b7368ee86d8b6918 Reviewed-by: Alexandru Croitor --- src/plugins/tls/openssl/qdtls_openssl.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/plugins/tls') diff --git a/src/plugins/tls/openssl/qdtls_openssl.cpp b/src/plugins/tls/openssl/qdtls_openssl.cpp index 78288d8dd1..fc07a29ec8 100644 --- a/src/plugins/tls/openssl/qdtls_openssl.cpp +++ b/src/plugins/tls/openssl/qdtls_openssl.cpp @@ -1,10 +1,6 @@ // Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only -#ifndef NOMINMAX -#define NOMINMAX -#endif // NOMINMAX - #include #include "qsslsocket_openssl_symbols_p.h" -- cgit v1.2.3