mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 04:30:35 +01:00
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>
(cherry picked from commit 9dc26f6743)
This commit is contained in:
parent
10b8cd6481
commit
9d5cbe76ef
1 changed files with 0 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue