aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-04-01 11:31:21 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-04-01 11:31:21 +0200
commitd992634fbce54e2ad367e1f57834503b5a3b5eaf (patch)
tree862cbd3b89fdf73675e509f0a61e176943055f62 /blas
parent5e8622477b24ca28ec6cb6622c830dd3ba835b8c (diff)
Fix bug #776: it seems that mingw does not support weak linking
Diffstat (limited to 'blas')
-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