dtfile: define MAX_PATH to PATH_MAX rather than 1024, also CID 87557

This commit is contained in:
Jon Trulson
2018-04-05 12:49:06 -06:00
parent 494fd64314
commit caa95ba67c
5 changed files with 13 additions and 9 deletions

View File

@@ -49,7 +49,8 @@
#define TIGHTNESS 20 /* button spacing in Create_Action_Area */
#define MAX_PATH 1024 /* Maximum path length */
#include <limits.h>
#define MAX_PATH PATH_MAX /* Maximum path length */
/* Types */