mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +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(assertsInRelease) { DEFINES *= QT_FORCE_ASSERTS }
|
||||
!mingw { DEFINES *= BLACK_USE_CRASHPAD }
|
||||
|
||||
@@ -17,10 +17,6 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#if !defined(Q_CC_MINGW)
|
||||
#define BLACK_USE_CRASHPAD
|
||||
#endif
|
||||
|
||||
namespace crashpad
|
||||
{
|
||||
class CrashpadClient;
|
||||
|
||||
Reference in New Issue
Block a user