aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.h b/test/main.h
index 4f9887c81..cf061730f 100644
--- a/test/main.h
+++ b/test/main.h
@@ -45,7 +45,7 @@
#include <queue>
#include <cassert>
#include <list>
-#if __cplusplus >= 201103L
+#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)
#include <random>
#include <chrono>
#ifdef EIGEN_USE_THREADS