mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: define PATH_MAX to _POSIX_PATH_MAX if not defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
db065bad02
commit
49c9cc97c3
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@
|
|||
#include <sys/stat.h>
|
||||
#include <limits.h> // PATH_MAX
|
||||
|
||||
#ifndef PATH_MAX
|
||||
# define PATH_MAX _POSIX_PATH_MAX
|
||||
#endif
|
||||
|
||||
class KArchivePrivate
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue