Remove config.h from ncjson.c and nclist.c

This commit is contained in:
Milton Woods 2021-09-06 10:28:18 +10:00
parent 4fa91d8241
commit 1fa3955226
2 changed files with 11 additions and 2 deletions

View File

@ -12,9 +12,14 @@ TODO: make utf8 safe
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "config.h"
#include "ncjson.h"
#if defined(_WIN32) && !defined(__MINGW32__)
#define strcasecmp _stricmp
#else
#include <strings.h>
#endif
#undef DEBUG
#define NCJ_OK 0

View File

@ -3,9 +3,13 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "config.h"
#include "nclist.h"
#if defined(_WIN32) && !defined(__MINGW32__)
#define strcasecmp _stricmp
#endif
int nclistnull(void* e) {return e == NULL;}
#ifndef TRUE