From 33f40b2883630b5ddec3bab5730691b40120faa6 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Sat, 28 Feb 2015 14:53:11 +0100 Subject: Cygwin does not like weak linking either. --- 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 8775b88cd..c373e8699 100644 --- a/blas/xerbla.cpp +++ b/blas/xerbla.cpp @@ -1,7 +1,7 @@ #include -#if (defined __GNUC__) && (!defined __MINGW32__) +#if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__) #define EIGEN_WEAK_LINKING __attribute__ ((weak)) #else #define EIGEN_WEAK_LINKING -- cgit v1.2.3