From 36d44fd7beb20646b9bfae40bd2bccac557425c8 Mon Sep 17 00:00:00 2001 From: jhuntley Date: Wed, 21 Jan 2015 11:04:36 -0500 Subject: [PATCH] Define comes before standard windows header defines. Added __MINGW32__ define to ensure debug_break is defined for mingw builds. --- libdevcore/debugbreak.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdevcore/debugbreak.h b/libdevcore/debugbreak.h index 57d9d8cde..db7abe660 100644 --- a/libdevcore/debugbreak.h +++ b/libdevcore/debugbreak.h @@ -27,7 +27,7 @@ #ifndef DEBUG_BREAK_H #define DEBUG_BREAK_H -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__MINGW32__) #define debug_break __debugbreak