ada: Remove definition of MAXPATHLEN for ancient MinGW
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 5 Sep 2022 11:17:15 +0000 (13:17 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 26 Sep 2022 09:02:29 +0000 (11:02 +0200)
commitaf61dc3ffd7c184571bcf1d773d97716cfe6093a
tree64240377cbd7625a9cfc68d2d5cbe73c2a7ca524
parent09b91bbcddd4900d433ea72f08dd11719bceaa58
ada: Remove definition of MAXPATHLEN for ancient MinGW

Modern MinGW defines MAXPATHLEN in sys/param.h, so better to use it
directly.

gcc/ada/

* mingw32.h: Remove condition definition of MAXPATHLEN; the include
directive for stdlib.h was most likely intended to provide the
MAX_PATH.
gcc/ada/mingw32.h