loader: #define PATH_MAX when undefined (eg. Hurd)
Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3228> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3228>
This commit is contained in:
committed by
Marge Bot
parent
d60b8fd3cb
commit
e45dc93136
@@ -61,6 +61,11 @@
|
||||
#define __IS_LOADER
|
||||
#include "pci_id_driver_map.h"
|
||||
|
||||
/* For systems like Hurd */
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
static void default_logger(int level, const char *fmt, ...)
|
||||
{
|
||||
if (level <= _LOADER_WARNING) {
|
||||
|
||||
Reference in New Issue
Block a user