arabica/SAX/saxlib.S

57 lines
1.1 KiB
ArmAsm
Raw Normal View History

2002-09-02 12:34:03 +02:00
#define pasty(m, n) m##n
#define include pasty(#, include)
#define ifdef pasty(#, ifdef)
#define ifndef pasty(#, ifndef)
#define endif pasty(#, endif)
#define define pasty(#, define)
#define message pasty(#, pragma message)
#define undef pasty(#, undef)
#define error pasty(#, error)
#define else pasty(#, else)
#define comment pasty(#, pragma comment)
#ifdef _MSC_VER
// turn off the useless "template name is too long" warning
#pragma warning(disable: 4786)
#endif
define NO_DEFAULT_PARSER
include <SAX/XMLReader.h>
#ifdef USE_LIBXML2
include <SAX/wrappers/saxlibxml2.cpp>
#ifdef _MSC_VER
message("Pulling in libxml2 wrappers.")
#endif
2002-09-02 12:34:03 +02:00
#endif
#ifdef USE_MSXML
#ifndef _MSC_VER
error "USE_MSXML is only valid for VisualC++ builds"
#else
2003-03-20 17:16:32 +01:00
message("Nothing to pull in for MSXML.")
2002-09-02 12:34:03 +02:00
#endif
#endif
#ifdef USE_XERCES
2003-03-20 17:16:32 +01:00
include <SAX/wrappers/saxxerces.cpp>
#ifdef _MSC_VER
message("Pulling in Xerces wrappers.")
#endif
2002-09-02 12:34:03 +02:00
#endif
#ifdef USE_GARDEN
2003-03-20 17:16:32 +01:00
message("Nothing to pull in for Garden.")
2002-09-02 12:34:03 +02:00
#endif
#ifdef USE_EXPAT
include <SAX/wrappers/saxexpat.cpp>
#ifdef _MSC_VER
message("Pulling in Expat wrappers.")
#endif
2002-09-02 12:34:03 +02:00
#endif