summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-25 19:21:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-25 19:21:09 (GMT)
commitea59fb06dfb7db4c7740248b09a33764febeb8e2 (patch)
treed42b6d6750fac5d451ca156d0be4d7534b7c02a5 /Utilities
parent381777f8669dd7308c91fea959e7ed6198802e22 (diff)
downloadCMake-ea59fb06dfb7db4c7740248b09a33764febeb8e2.zip
CMake-ea59fb06dfb7db4c7740248b09a33764febeb8e2.tar.gz
CMake-ea59fb06dfb7db4c7740248b09a33764febeb8e2.tar.bz2
COMP: fix warnings
Diffstat (limited to 'Utilities')
-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 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) \