Browse Source

Fix definition of NELEM in the tests.

tags/json-c-0.13-20171207
Eric Haszlakiewicz 8 years ago
parent
commit
e424af32b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/parse_flags.c

+ 1
- 1
tests/parse_flags.c 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)


Loading…
Cancel
Save