tools/mkdeps.c: Eliminate a warning. MAX_PATH may already be defined in included system files.

This commit is contained in:
Jeff 2017-08-04 12:25:38 -06:00 committed by Gregory Nutt
parent 44c59f7533
commit 25e4fb2886

View File

@ -58,7 +58,12 @@
#define MAX_BUFFER (4096)
#define MAX_EXPAND (2048)
/* MAX_PATH might be defined in stdlib.h */
#if !defined(MAX_PATH)
# define MAX_PATH (512)
#endif
/* NAME_MAX is typically defined in limits.h */