Note that this is quite strange since opm-core is upstream and not downstream from opm-grid. However, when this file is used from opm-autodiff the macro is used.