arabica/SAX/saxlib.S
jez_higgins 9af762fb34 renamed *.tpl -> *.S
.tpl has a special meaning for gcc it seems
2003-04-03 13:18:00 +00:00

46 lines
1 KiB
ArmAsm

#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
message("Pulling in libxml2 wrappers.")
include <SAX/wrappers/saxlibxml2.cpp>
#endif
#ifdef USE_MSXML
#ifndef _MSC_VER
error "USE_MSXML is only valid for VisualC++ builds"
#else
message("Nothing to pull in for MSXML.")
#endif
#endif
#ifdef USE_XERCES
message("Pulling in Xerces wrappers.")
include <SAX/wrappers/saxxerces.cpp>
#endif
#ifdef USE_GARDEN
message("Nothing to pull in for Garden.")
#endif
#ifdef USE_EXPAT
message("Pulling in Expat wrappers.")
include <SAX/wrappers/saxexpat.cpp>
#endif