From d992634fbce54e2ad367e1f57834503b5a3b5eaf Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 1 Apr 2014 11:31:21 +0200 Subject: Fix bug #776: it seems that mingw does not support weak linking --- blas/xerbla.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blas') diff --git a/blas/xerbla.cpp b/blas/xerbla.cpp index 0d57710fe..0422f79b7 100644 --- a/blas/xerbla.cpp +++ b/blas/xerbla.cpp @@ -1,7 +1,7 @@ #include -#if (defined __GNUC__) +#if (defined __GNUC__) && (!defined __MINGW32__) #define EIGEN_WEAK_LINKING __attribute__ ((weak)) #else #define EIGEN_WEAK_LINKING -- cgit v1.2.3