diff --git a/include/curves/serialization/eigen-matrix.hpp b/include/curves/serialization/eigen-matrix.hpp
index 40ecee178c2610a5364a428ab10bedd5f90eaf42..ec3134c52a99946acf045eda7596c4d10e852afa 100644
--- a/include/curves/serialization/eigen-matrix.hpp
+++ b/include/curves/serialization/eigen-matrix.hpp
@@ -25,8 +25,8 @@
  */
 
 
-#ifndef __serialization_eigen_matrix_hpp__
-#define __serialization_eigen_matrix_hpp__
+#ifndef EIGEN_BOOST_SERIALIZATION
+#define EIGEN_BOOST_SERIALIZATION
 
 #include <Eigen/Dense>
 #include <boost/serialization/split_free.hpp>