mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	#ifndef nitems.
This commit is contained in:
		@@ -26,7 +26,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 == LSRUN || (p)->p_stat == SIDL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user