Skip to content
Permalink
Browse files

Bring back PATH_PAX for platforms that don't define it.

This define was replaced in 8c712d8 with limits.h but that caused an issue with the hurd-i386 build for Debian which apparently does not define this value.
  • Loading branch information...
dwsteele committed Jun 1, 2019
1 parent a207af7 commit 0945d9666b5af1a5893ba0b4537e9cd1f72be478
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/storage/posix/storage.c
@@ -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
***********************************************************************************************************************************/

0 comments on commit 0945d96

Please sign in to comment.
You can’t perform that action at this time.