Applied expat changes in order to compile (nw)

This commit is contained in:
Miodrag Milanovic 2015-01-10 12:03:05 +01:00
parent 2c9a5344f3
commit 67e5785c2f
4 changed files with 22 additions and 37 deletions

19
3rdparty/expat/lib/intconfig.h vendored Normal file
View File

@ -0,0 +1,19 @@
#ifndef INTCONFIG_H
#define INTCONFIG_H
#include <stdlib.h>
#include <string.h>
#define XML_NS 1
#define XML_DTD 1
#define XML_CONTEXT_BYTES 1024
#ifdef USE_LSB
#define BYTEORDER 1234
#else
#define BYTEORDER 4321
#endif
#define HAVE_MEMMOVE
#endif

View File

@ -10,17 +10,7 @@
#define XML_BUILDING_EXPAT 1
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#elif defined(__amigaos__)
#include "amigaconfig.h"
#elif defined(__WATCOMC__)
#include "watcomconfig.h"
#elif defined(HAVE_EXPAT_CONFIG_H)
#include <expat_config.h>
#endif /* ndef COMPILED_FROM_DSP */
#include "intconfig.h"
#include "ascii.h"
#include "expat.h"

View File

@ -4,19 +4,7 @@
#include <stddef.h>
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#elif defined(__amigaos__)
#include "amigaconfig.h"
#elif defined(__WATCOMC__)
#include "watcomconfig.h"
#else
#ifdef HAVE_EXPAT_CONFIG_H
#include <expat_config.h>
#endif
#endif /* ndef COMPILED_FROM_DSP */
#include "intconfig.h"
#include "expat_external.h"
#include "internal.h"

View File

@ -4,19 +4,7 @@
#include <stddef.h>
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#elif defined(__amigaos__)
#include "amigaconfig.h"
#elif defined(__WATCOMC__)
#include "watcomconfig.h"
#else
#ifdef HAVE_EXPAT_CONFIG_H
#include <expat_config.h>
#endif
#endif /* ndef COMPILED_FROM_DSP */
#include "intconfig.h"
#include "expat_external.h"
#include "internal.h"