mirror of
https://github.com/json-c/json-c.git
synced 2026-03-25 07:59:07 +08:00
Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++.
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "json.h"
|
||||
#include "parse_flags.h"
|
||||
|
||||
#if !defined(HAVE_STRCASECMP) && defined(_MSC_VER)
|
||||
# define strcasecmp _stricmp
|
||||
#elif !defined(HAVE_STRCASECMP)
|
||||
# error You do not have strcasecmp on your system.
|
||||
#endif /* HAVE_STRNCASECMP */
|
||||
|
||||
static struct {
|
||||
const char *arg;
|
||||
int flag;
|
||||
|
||||
Reference in New Issue
Block a user