From 385496a24c4b4389ce6a8001f160f9162a742abe Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Sat, 25 Feb 2012 19:28:47 -0500 Subject: [PATCH] Use native Windows assert for MinGW. This also avoids false positive warnings with Clang static analyzer, as the default libcdio assert does return. From pbatard branch. --- lib/driver/cdio_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/driver/cdio_assert.h b/lib/driver/cdio_assert.h index 8b020da2..43180518 100644 --- a/lib/driver/cdio_assert.h +++ b/lib/driver/cdio_assert.h @@ -19,7 +19,7 @@ #ifndef __CDIO_ASSERT_H__ #define __CDIO_ASSERT_H__ -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__MINGW32__) #if defined(HAVE_CONFIG_H) && !defined(__CDIO_CONFIG_H__) # include "config.h"