New code from lwip project

lwip repo:
60f920d fixed bug #43235, checking for non-existent preprocessor macros is non-standard, added predefinition for all affected macros