From 9df6326873b84899433bc324de647f18f1bbca5c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 29 Oct 2013 00:10:07 +0100 Subject: conditionalize breakpad for MSVC only, broken on mingw Signed-off-by: Stanislaw Halik --- facetracknoir/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'facetracknoir') diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp index e059090d..e643bcd3 100644 --- a/facetracknoir/main.cpp +++ b/facetracknoir/main.cpp @@ -29,7 +29,7 @@ #include #include -#if defined(_WIN32) +#if defined(_WIN32) && defined(_MSC_VER) # include # ifdef OPENTRACK_BREAKPAD # include @@ -54,7 +54,7 @@ bool dumpCallback(const wchar_t* dump_path, int main(int argc, char** argv) { -#ifdef OPENTRACK_BREAKPAD +#if defined(OPENTRACK_BREAKPAD) && defined(_MSC_VER) auto handler = new ExceptionHandler(L".", nullptr, dumpCallback, nullptr, -1); #endif QApplication::setAttribute(Qt::AA_X11InitThreads, true); -- cgit v1.2.3