From ea59fb06dfb7db4c7740248b09a33764febeb8e2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 25 Feb 2005 14:21:09 -0500 Subject: COMP: fix warnings --- Utilities/cmexpat/xmltok_impl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/cmexpat/xmltok_impl.c b/Utilities/cmexpat/xmltok_impl.c index d9ba219..6e0be95 100644 --- a/Utilities/cmexpat/xmltok_impl.c +++ b/Utilities/cmexpat/xmltok_impl.c @@ -7,6 +7,7 @@ See the file COPYING for copying permission. #define IS_INVALID_CHAR(enc, ptr, n) (0) #endif +#ifndef INVALID_LEAD_CASE #define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ case BT_LEAD ## n: \ if (end - ptr < n) \ @@ -17,6 +18,7 @@ See the file COPYING for copying permission. } \ ptr += n; \ break; +#endif #define INVALID_CASES(ptr, nextTokPtr) \ INVALID_LEAD_CASE(2, ptr, nextTokPtr) \ -- cgit v0.12