--- rxvt-unicode/src/rxvtutil.h 2010/07/26 09:57:53 1.40 +++ rxvt-unicode/src/rxvtutil.h 2010/12/18 18:17:39 1.41 @@ -6,6 +6,8 @@ using namespace std; +#define ARRAY_LENGTH(v) (sizeof (v) / sizeof ((v)[0])) + #define PP_CONCAT_(a, b) a ## b #define PP_CONCAT(a, b) PP_CONCAT_(a, b) #define PP_STRINGIFY_(a) #a