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 <richard.gustavsen@digia.com>
This commit is contained in:
Andy Shaw 2013-01-09 14:54:12 +01:00 committed by The Qt Project
parent d41fbea2ba
commit ad028c4110

View File

@ -43,6 +43,10 @@
#ifndef QSSLCERTIFICATE_H
#define QSSLCERTIFICATE_H
#ifdef verify
#undef verify
#endif
#include <QtCore/qnamespace.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qcryptographichash.h>