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 <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1803>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-17 16:47:37 +01:00
parent 6c24e53a89
commit 9dc26f6743

View File

@ -176,17 +176,6 @@ typedef struct _xReq *xReqPtr;
#endif
#ifndef PATH_MAX
#include <sys/param.h>
#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.