The arduino team back then refused. But recently they came back to this PIN_XXX solution which is isn't as good as Paul's core pins and the associated macros - which he still uses today and is why his ...
This may solve the issue... The preprocessor fails at defining for example the MAX_PROBE_X macro because it should compute the min between a value that it knows (X_MAX_POS) and a value that it doesn't ...