MSVC for windows mobile does not have the errno.h file

This commit is contained in:
Gael Guennebaud
2010-10-07 18:09:15 +02:00
parent af22364988
commit a76ce042e6
2 changed files with 9 additions and 0 deletions

View File

@@ -141,7 +141,14 @@
#include <omp.h>
#endif
// MSVC for windows mobile does not have the errno.h file
#if !(defined(_MSC_VER) && defined(_WIN32_WCE))
#define EIGEN_HAS_ERRNO
#endif
#ifdef EIGEN_HAS_ERRNO
#include <cerrno>
#endif
#include <cstdlib>
#include <cmath>
#include <complex>