aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Macros.h
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-07-24 22:56:15 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-07-24 22:56:15 +0200
commitfd4fe7cbc5559b0928661dab6d178921b50a15de (patch)
tree47c77a067e309ee3b7e058434dd7a8a4003df35f /Eigen/src/Core/util/Macros.h
parent636126ef406f03ad830ff9bb9927b7794b19973d (diff)
Fixed issue which made documentation not getting built anymore
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r--Eigen/src/Core/util/Macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
index 73a9883b9..b15819f7d 100644
--- a/Eigen/src/Core/util/Macros.h
+++ b/Eigen/src/Core/util/Macros.h
@@ -518,6 +518,8 @@
#endif
// Does the compiler support C99?
+// Need to include <cmath> to make sure _GLIBCXX_USE_C99 gets defined
+#include <cmath>
#ifndef EIGEN_HAS_C99_MATH
#if EIGEN_MAX_CPP_VER>=11 && \
((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) \