Skip to content
Snippets Groups Projects
Commit 48dde3b9 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Define PATH_MAX if it's not defined; needed for GNU Hurd support

parent 695e8d3e
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,10 @@ typedef unsigned int uint; /*!< \brief Unsigned. */
#define UINT_DEFINED
#endif
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
/*! \brief Eliminate compiler warning with unused parameters. */
#define UNUSED(param) (void)(param)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment