Re: [PATCH] git-compat-util: prefer poll.h to sys/poll.h From: Junio C Hamano <hidden> Date: 2018-11-14 07:32:25 Đoàn Trần Công Danh [off-list ref] writes: -#ifndef NO_SYS_POLL_H +#if !defined(NO_POLL_H) +#include <poll.h> +#elif !defined(NO_SYS_POLL_H) #include <sys/poll.h> #else +/* Pull the compat stuff */ #include <poll.h> #endif The last comment would help readers who got "Huh? When NO_POLL_H and NO_SYS_POLL_H is given, we still include <poll.h>" without it. Looks good. Thanks.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help