fixed a couple of problems in the new elfgcchack.h trick pointed by Peter

* libxml.h uri.c: fixed a couple of problems in the new
  elfgcchack.h trick pointed by Peter Breitenlohner
Daniel
This commit is contained in:
Daniel Veillard 2004-07-09 12:05:25 +00:00
parent add93d3e9e
commit be3eb2088e
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Jul 9 14:02:54 CEST 2004 Daniel Veillard <daniel@veillard.com>
* libxml.h uri.c: fixed a couple of problems in the new
elfgcchack.h trick pointed by Peter Breitenlohner
Wed Jul 7 00:45:48 CEST 2004 Daniel Veillard <daniel@veillard.com>
* elfgcchack.h doc/apibuild.py doc/libxml2-api.xml: fixed a bug

View File

@ -52,9 +52,11 @@ void __xmlLoaderErr(void *ctx, const char *msg, const char *filename);
#ifdef IN_LIBXML
#ifdef __GNUC__
#ifdef PIC
#ifdef linux
#include "elfgcchack.h"
#endif
#endif
#endif
#endif
#endif /* ! __XML_LIBXML_H__ */

4
uri.c
View File

@ -46,10 +46,12 @@
*/
#define IS_UPALPHA(x) (((x) >= 'A') && ((x) <= 'Z'))
#ifdef IS_DIGIT
#undef IS_DIGIT
#endif
/*
* digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
*/
#define IS_DIGIT(x) (((x) >= '0') && ((x) <= '9'))
/*