From f1d590baba5e85eb1690ea4add7624515fb74a7f Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 20:46:12 +0000 Subject: Apply patch libuv-unix-don-t-use-_POSIX_PATH_MAX.patch patch_name: libuv-unix-don-t-use-_POSIX_PATH_MAX.patch present_in_specfile: true location_in_specfile: 2 --- diff --git a/src/unix/internal.h b/src/unix/internal.h index 402ee87..ab4f58c 100644 --- a/src/unix/internal.h +++ b/src/unix/internal.h @@ -62,9 +62,7 @@ # include #endif -#if defined(_POSIX_PATH_MAX) -# define UV__PATH_MAX _POSIX_PATH_MAX -#elif defined(PATH_MAX) +#if defined(PATH_MAX) # define UV__PATH_MAX PATH_MAX #else # define UV__PATH_MAX 8192