Fix definition of NELEM in the tests.

This commit is contained in:
Eric Haszlakiewicz
2017-10-22 22:28:35 -04:00
parent ac09581cc2
commit e424af32b7

View File

@@ -22,7 +22,7 @@ static struct {
};
#ifndef NELEM
#define NELEM(x) (sizeof(x) / sizeof(&x[0]))
#define NELEM(x) (sizeof(x) / sizeof(x[0]))
#endif
int parse_flags(int argc, char **argv)