mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
Fix bug #776: it seems that mingw does not support weak linking
This commit is contained in:
parent
5e8622477b
commit
d992634fbc
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#if (defined __GNUC__)
|
#if (defined __GNUC__) && (!defined __MINGW32__)
|
||||||
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
|
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
|
||||||
#else
|
#else
|
||||||
#define EIGEN_WEAK_LINKING
|
#define EIGEN_WEAK_LINKING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user