diff options
author | Christian von Schultz <christian.git@vonschultz.se> | 2018-10-22 21:14:40 +0200 |
---|---|---|
committer | Christian von Schultz <christian.git@vonschultz.se> | 2018-10-22 21:14:40 +0200 |
commit | 4a40b3785dc81112856d517676dbcfa9204e16df (patch) | |
tree | 353f8aed3b6e7412745acfc7f532aceeec1f5735 /Eigen/Core | |
parent | 14054e217fa76ead792194262ff31bd9a72fe58c (diff) |
Collapsed revision (based on pull request PR-325)
* Support compiling without IO streams
Add the preprocessor definition EIGEN_NO_IO which, if defined,
disables all use of the IO streams part of the standard library.
Diffstat (limited to 'Eigen/Core')
-rw-r--r-- | Eigen/Core | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Eigen/Core b/Eigen/Core index a4596e73b..0c09f7c79 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -72,7 +72,9 @@ #include <cmath> #include <cassert> #include <functional> -#include <iosfwd> +#ifndef EIGEN_NO_IO + #include <iosfwd> +#endif #include <cstring> #include <string> #include <limits> @@ -224,7 +226,9 @@ using std::ptrdiff_t; #include "src/Core/util/IndexedViewHelper.h" #include "src/Core/util/ReshapedHelper.h" #include "src/Core/ArithmeticSequence.h" -#include "src/Core/IO.h" +#ifndef EIGEN_NO_IO + #include "src/Core/IO.h" +#endif #include "src/Core/DenseCoeffsBase.h" #include "src/Core/DenseBase.h" #include "src/Core/MatrixBase.h" |