From 9f92c1ca949350052f3c16bdab8b9b6ce2569f97 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 18 Feb 2015 18:26:28 +0200 Subject: [PATCH] Build on Windows in debug mode. --HG-- branch : develop --- src/libs/ifc/ifcdef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/ifc/ifcdef.h b/src/libs/ifc/ifcdef.h index 3426f76ef..4facd7b4d 100644 --- a/src/libs/ifc/ifcdef.h +++ b/src/libs/ifc/ifcdef.h @@ -34,6 +34,7 @@ #ifdef Q_OS_WIN32 extern Q_CORE_EXPORT int qt_ntfs_permission_lookup; + #include #endif /*Q_OS_WIN32*/ enum class Unit : char { Mm, Cm, Inch, Px }; @@ -80,7 +81,7 @@ static const quint32 null_id = 0; { \ qDebug("ASSERT: %s in %s (%s:%u)", \ #cond, __PRETTY_FUNCTION__, __FILE__, __LINE__);\ - std::raise(SIGTRAP); \ + DebugBreak(); \ } \ } \