From 9dc26f6743bcf4f2a3586b93b4153f4e8691d1a9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 17 Feb 2025 16:47:37 +0100 Subject: [PATCH] os: no need to defined PATH_MAX All our supported platforms define it, so no need to do it on our own. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- include/misc.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/misc.h b/include/misc.h index 615da815d..890e45ffa 100644 --- a/include/misc.h +++ b/include/misc.h @@ -176,17 +176,6 @@ typedef struct _xReq *xReqPtr; #endif -#ifndef PATH_MAX -#include -#ifndef PATH_MAX -#ifdef MAXPATHLEN -#define PATH_MAX MAXPATHLEN -#else -#define PATH_MAX 1024 -#endif -#endif -#endif - /** * Calculate the number of bytes needed to hold bits. * @param bits The minimum number of bits needed.