mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 16:29:06 +08:00
Fix definition of NELEM in the tests.
This commit is contained in:
@@ -22,7 +22,7 @@ static struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifndef NELEM
|
#ifndef NELEM
|
||||||
#define NELEM(x) (sizeof(x) / sizeof(&x[0]))
|
#define NELEM(x) (sizeof(x) / sizeof(x[0]))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int parse_flags(int argc, char **argv)
|
int parse_flags(int argc, char **argv)
|
||||||
|
|||||||
Reference in New Issue
Block a user