Define BLACK_USE_CRASHPAD in qmake, to avoid relying on fragile include order.

This commit is contained in:
Mat Sutcliffe
2019-09-01 13:56:40 +01:00
committed by Klaus Basan
parent 05b3a6d56d
commit a93e7982b5
2 changed files with 1 additions and 4 deletions

View File

@@ -119,3 +119,4 @@ defineTest(CheckOptionalDependency) {
swiftConfig(static) { DEFINES *= WITH_STATIC }
swiftConfig(assertsInRelease) { DEFINES *= QT_FORCE_ASSERTS }
!mingw { DEFINES *= BLACK_USE_CRASHPAD }

View File

@@ -17,10 +17,6 @@
#include <memory>
#if !defined(Q_CC_MINGW)
#define BLACK_USE_CRASHPAD
#endif
namespace crashpad
{
class CrashpadClient;