mirror of
https://github.com/json-c/json-c.git
synced 2026-03-25 16:09:06 +08:00
Fix definition of NELEM in the tests.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user