aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--blas/xerbla.cpp2
1 files changed, 1 insertions, 1 deletions
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 <iostream>
-#if (defined __GNUC__)
+#if (defined __GNUC__) && (!defined __MINGW32__)
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
#else
#define EIGEN_WEAK_LINKING