From 9d6f1ad398fe8bf8779619ac236665c31829a08e Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 10 Feb 2016 12:48:34 -0500 Subject: [PATCH] I'm told to use __EMSCRIPTEN__ by an Emscripten dev. --- Eigen/src/Core/util/Macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index fc456d407..d196123c6 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -100,7 +100,7 @@ #endif /// \internal EIGEN_COMP_ARM set to 1 if the compiler is ARM Compiler -#if defined(EMSCRIPTEN) +#if defined(__EMSCRIPTEN__) #define EIGEN_COMP_EMSCRIPTEN 1 #else #define EIGEN_COMP_EMSCRIPTEN 0