Cygwin compatibility issues (manually backported from main branch)

This commit is contained in:
Christoph Hertzberg
2015-04-09 20:26:47 +02:00
parent 2e3353634f
commit 1e1b4b6678
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#include <iostream>
#if (defined __GNUC__)
#if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__)
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
#else
#define EIGEN_WEAK_LINKING