diff --git a/opm/material/common/Unused.hpp b/opm/material/common/Unused.hpp index 03cb52974..f7c4bf143 100644 --- a/opm/material/common/Unused.hpp +++ b/opm/material/common/Unused.hpp @@ -40,4 +40,10 @@ #define OPM_OPTIM_UNUSED #endif +#ifdef HAVE_MPI +#define OPM_UNUSED_NOMPI +#else +#define OPM_UNUSED_NOMPI OPM_UNUSED +#endif + #endif