summaryrefslogtreecommitdiff
path: root/Utilities/cmexpat
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-25 14:21:09 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-25 14:21:09 -0500
commitea59fb06dfb7db4c7740248b09a33764febeb8e2 (patch)
treed42b6d6750fac5d451ca156d0be4d7534b7c02a5 /Utilities/cmexpat
parent381777f8669dd7308c91fea959e7ed6198802e22 (diff)
downloadcmake-ea59fb06dfb7db4c7740248b09a33764febeb8e2.tar.gz
COMP: fix warnings
Diffstat (limited to 'Utilities/cmexpat')
-rw-r--r--Utilities/cmexpat/xmltok_impl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmexpat/xmltok_impl.c b/Utilities/cmexpat/xmltok_impl.c
index d9ba2195d6..6e0be95515 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) \