--- gcc-7.3.1.old/libmpx/mpxrt/mpxrt-utils.c +++ gcc-7.3.1/libmpx/mpxrt/mpxrt-utils.c @@ -66,6 +66,9 @@ #define MPX_RT_BNDPRESERVE_DEFAULT 0 #define MPX_RT_PRINT_SUMMARY "CHKP_RT_PRINT_SUMMARY" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif #define MAX_FILE_NAME PATH_MAX typedef struct env_var_s {