blob: f108fa365f45455b249e26f96a2ea177c039569d [file] [log] [blame]
James Kuszmaulb13e13f2023-11-22 20:44:04 -08001From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Peter Johnson <johnson.peter@gmail.com>
3Date: Fri, 20 Jan 2023 23:41:56 -0800
Maxwell Henderson80bec322024-01-09 15:48:44 -08004Subject: [PATCH 2/2] Intellisense fix
James Kuszmaulb13e13f2023-11-22 20:44:04 -08005
6---
7 Eigen/src/Core/util/Macros.h | 10 ++++++++++
8 1 file changed, 10 insertions(+)
9
10diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
Maxwell Henderson80bec322024-01-09 15:48:44 -080011index 5d054e67c4355a549b1351f1ecc5e49a96e91ace..fda6ad91eedacc9958a5a0bc34db33d8b4e57cd6 100644
James Kuszmaulb13e13f2023-11-22 20:44:04 -080012--- a/Eigen/src/Core/util/Macros.h
13+++ b/Eigen/src/Core/util/Macros.h
Maxwell Henderson80bec322024-01-09 15:48:44 -080014@@ -60,6 +60,16 @@
James Kuszmaulb13e13f2023-11-22 20:44:04 -080015 // Compiler identification, EIGEN_COMP_*
16 //------------------------------------------------------------------------------------------
17
18+/// \internal Disable NEON features in Intellisense
19+#if __INTELLISENSE__
20+#ifdef __ARM_NEON
21+#undef __ARM_NEON
22+#endif
23+#ifdef __ARM_NEON__
24+#undef __ARM_NEON__
25+#endif
26+#endif
27+
Maxwell Henderson80bec322024-01-09 15:48:44 -080028 /// \internal EIGEN_COMP_GNUC set to version (e.g., 951 for GCC 9.5.1) for all compilers compatible with GCC
James Kuszmaulb13e13f2023-11-22 20:44:04 -080029 #ifdef __GNUC__
Maxwell Henderson80bec322024-01-09 15:48:44 -080030 #define EIGEN_COMP_GNUC (__GNUC__ * 100 + __GNUC_MINOR__ * 10 + __GNUC_PATCHLEVEL__)