From ad028c4110f3ccb5db1b105c716995ad71b877aa Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Wed, 9 Jan 2013 14:54:12 +0100 Subject: [PATCH] Fix compile when verify is already defined On Mac if AssertMacros.h has already been included then it defines verify which conflicts with the verify static function. Therefore we just undef this if is already defined. Task-number: QTBUG-27316 Change-Id: I5960e504c4efa4fc4ff65ba66bbd7decb33ffc62 Reviewed-by: Richard Moe Gustavsen --- src/network/ssl/qsslcertificate.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/network/ssl/qsslcertificate.h b/src/network/ssl/qsslcertificate.h index 6863fb9d62..6301956e78 100644 --- a/src/network/ssl/qsslcertificate.h +++ b/src/network/ssl/qsslcertificate.h @@ -43,6 +43,10 @@ #ifndef QSSLCERTIFICATE_H #define QSSLCERTIFICATE_H +#ifdef verify +#undef verify +#endif + #include #include #include