mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Define BLACK_USE_CRASHPAD in qmake, to avoid relying on fragile include order.
This commit is contained in:
committed by
Klaus Basan
parent
05b3a6d56d
commit
a93e7982b5
@@ -119,3 +119,4 @@ defineTest(CheckOptionalDependency) {
|
|||||||
|
|
||||||
swiftConfig(static) { DEFINES *= WITH_STATIC }
|
swiftConfig(static) { DEFINES *= WITH_STATIC }
|
||||||
swiftConfig(assertsInRelease) { DEFINES *= QT_FORCE_ASSERTS }
|
swiftConfig(assertsInRelease) { DEFINES *= QT_FORCE_ASSERTS }
|
||||||
|
!mingw { DEFINES *= BLACK_USE_CRASHPAD }
|
||||||
|
|||||||
@@ -17,10 +17,6 @@
|
|||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#if !defined(Q_CC_MINGW)
|
|
||||||
#define BLACK_USE_CRASHPAD
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace crashpad
|
namespace crashpad
|
||||||
{
|
{
|
||||||
class CrashpadClient;
|
class CrashpadClient;
|
||||||
|
|||||||
Reference in New Issue
Block a user