summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/common/uidna.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu-xetex/common/uidna.cpp')
-rw-r--r--Build/source/libs/icu-xetex/common/uidna.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/Build/source/libs/icu-xetex/common/uidna.cpp b/Build/source/libs/icu-xetex/common/uidna.cpp
index b5bf9a5107e..4a6b329ce52 100644
--- a/Build/source/libs/icu-xetex/common/uidna.cpp
+++ b/Build/source/libs/icu-xetex/common/uidna.cpp
@@ -1,7 +1,7 @@
/*
*******************************************************************************
*
- * Copyright (C) 2003-2005, International Business Machines
+ * Copyright (C) 2003-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -66,12 +66,6 @@ startsWithPrefix(const UChar* src , int32_t srcLength){
return startsWithPrefix;
}
-inline static void
-toASCIILower(UChar* src, int32_t srcLen){
- for(int32_t i=0; i<srcLen; i++){
- src[i] = toASCIILower(src[i]);
- }
-}
inline static int32_t
compareCaseInsensitiveASCII(const UChar* s1, int32_t s1Len,
@@ -194,13 +188,6 @@ static inline UBool isLDHChar(UChar ch){
return FALSE;
}
-// We should add this to utypes.c
-#if U_ICU_VERSION_MAJOR_NUM>3 || (U_ICU_VERSION_MAJOR_NUM==3 && U_ICU_VERSION_MINOR_NUM>4)
-# error Time bomb: After ICU 3.4 move the definition of utypes.h and fix the TODO in _uIDNAErrorName definition.
-#else
-# define U_IDNA_ZERO_LENGTH_LABEL_ERROR U_IDNA_ERROR_LIMIT
-#endif
-
static int32_t
_internal_toASCII(const UChar* src, int32_t srcLength,
UChar* dest, int32_t destCapacity,