On 9/22/05, Joe Orton <[EMAIL PROTECTED]> wrote: [snip] > Make sure it looks exactly like this: > > #if !defined(XML_MAJOR_VERSION) > #define NEED_BOM_HANDLING > #elif XML_MAJOR_VERSION < 2 && XML_MINOR_VERSION == 95 && XML_MICRO_VERSION < > 2 > #define NEED_BOM_HANDLING > #endif > > if it doesn't work there is some other problem; what error does the > compiler give? There is really no such thing as an #elseif in CPP > parlance (unless Microsoft invented one in which case it is > MS-specific), there is only #elif. >
Aha...you're right. It looks like I've got an expat.h that has XML_MAJOR_VERSION defined to @EXPAT_MAJOR_VERSION@ so it's the @'s the compiler is complaining about not the &'s as I thought. I guess that header should have been updated with real values when I built apache/expat? It must be picking up the wrong one or something...I'll figure it out. Sorry for the noise. :( DJ _______________________________________________ neon mailing list [email protected] http://mailman.webdav.org/mailman/listinfo/neon
