mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Also #ifndef nitems here, caught by Thomas Jeunet.
This commit is contained in:
parent
eb8ab96980
commit
c506e7f711
@ -25,7 +25,9 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef nitems
|
||||
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
|
||||
#endif
|
||||
|
||||
#define is_runnable(p) \
|
||||
((p)->p_stat == SRUN || (p)->p_stat == SIDL || (p)->p_stat == SONPROC)
|
||||
|
Loading…
Reference in New Issue
Block a user