aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/sparse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sparse.h b/test/sparse.h
index b343427e5..949a597fc 100644
--- a/test/sparse.h
+++ b/test/sparse.h
@@ -28,7 +28,7 @@
#include "main.h"
-#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC
+#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__)
#include <tr1/unordered_map>
#define EIGEN_UNORDERED_MAP_SUPPORT
namespace std {