diff --git a/MathLib/LinAlg/GlobalMatrixVectorTypes.h b/MathLib/LinAlg/GlobalMatrixVectorTypes.h
index a3ddae379717880c8ecbe86806d647dff92fcff1..13d14d4064af22791534708d686e9f2c2950e9a5 100644
--- a/MathLib/LinAlg/GlobalMatrixVectorTypes.h
+++ b/MathLib/LinAlg/GlobalMatrixVectorTypes.h
@@ -15,7 +15,7 @@
 //
 // Global vector/matrix types and linear solver.
 //
-#if defined(OGS_USE_LIS)
+#if defined(USE_LIS)
 
     #include "MathLib/LinAlg/Eigen/EigenMatrix.h"
     #include "MathLib/LinAlg/Eigen/EigenVector.h"
diff --git a/MathLib/LinAlg/LinearSolver.cpp b/MathLib/LinAlg/LinearSolver.cpp
index f656ae46e463d078c0ada31209ccb19ed8c621d7..636cf54b00a9a7de1f911c5f86166ae60439b94c 100644
--- a/MathLib/LinAlg/LinearSolver.cpp
+++ b/MathLib/LinAlg/LinearSolver.cpp
@@ -93,7 +93,7 @@ SPECIALIZE_CREATE_LINEAR_SOLVER(Eigen::MatrixXd, Eigen::VectorXd,
 #endif
 
 
-#ifdef OGS_USE_LIS
+#ifdef USE_LIS
 
 #include "MathLib/LinAlg/EigenLis/EigenLisLinearSolver.h"