aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/SparseExtra
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2012-03-31 18:01:43 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2012-03-31 18:01:43 +0200
commita060e0b486e6d9aa05df8c01504934e5f72e98c0 (patch)
tree7349bfa2b28c2881acfbc2fb4c933a6e6f29e95b /unsupported/Eigen/SparseExtra
parentdaaeddd58113ba3864fa63d48a52eca72e3a3475 (diff)
does not include MatrixMaketIterator on win32,
no "using whatever" in global scope in a header file
Diffstat (limited to 'unsupported/Eigen/SparseExtra')
-rw-r--r--unsupported/Eigen/SparseExtra8
1 files changed, 7 insertions, 1 deletions
diff --git a/unsupported/Eigen/SparseExtra b/unsupported/Eigen/SparseExtra
index f73a085be..cc7c37324 100644
--- a/unsupported/Eigen/SparseExtra
+++ b/unsupported/Eigen/SparseExtra
@@ -38,9 +38,15 @@ namespace Eigen {
#include "src/SparseExtra/RandomSetter.h"
#include "src/SparseExtra/MarketIO.h"
-#include "src/SparseExtra/MatrixMarketIterator.h"
} // namespace Eigen
+#if !defined(_WIN32)
+#include <dirent.h>
+namespace Eigen {
+#include "src/SparseExtra/MatrixMarketIterator.h"
+}
+#endif
+
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
#endif // EIGEN_SPARSE_EXTRA_MODULE_H