Fix bug #776: it seems that mingw does not support weak linking

This commit is contained in:
Gael Guennebaud 2014-04-01 11:31:21 +02:00
parent 5e8622477b
commit d992634fbc

View File

@ -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