mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-05 15:05:48 +02:00
Bring back PATH_PAX for platforms that don't define it.
This define was replaced in 8c712d89 with limits.h but that caused an issue with the hurd-i386 build for Debian which apparently does not define this value.
This commit is contained in:
parent
a207af7921
commit
0945d9666b
@ -27,6 +27,13 @@ Storage type
|
||||
***********************************************************************************************************************************/
|
||||
STRING_EXTERN(STORAGE_POSIX_TYPE_STR, STORAGE_POSIX_TYPE);
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Define PATH_MAX if it is not defined
|
||||
***********************************************************************************************************************************/
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX (4 * 1024)
|
||||
#endif
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Object type
|
||||
***********************************************************************************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user