Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++.
This commit is contained in:
1 parent
a6f39a3c0c
commit
271c53ebdd
3 files changed
+11
-3
No files matched your search
@@ -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