tools/mkdeps.c: Eliminate a warning. MAX_PATH may already be defined in included system files.
This commit is contained in:
parent
44c59f7533
commit
25e4fb2886
@ -58,7 +58,12 @@
|
|||||||
|
|
||||||
#define MAX_BUFFER (4096)
|
#define MAX_BUFFER (4096)
|
||||||
#define MAX_EXPAND (2048)
|
#define MAX_EXPAND (2048)
|
||||||
|
|
||||||
|
/* MAX_PATH might be defined in stdlib.h */
|
||||||
|
|
||||||
|
#if !defined(MAX_PATH)
|
||||||
# define MAX_PATH (512)
|
# define MAX_PATH (512)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* NAME_MAX is typically defined in limits.h */
|
/* NAME_MAX is typically defined in limits.h */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user