ICU-2896 uconfig.h

X-SVN-Rev: 12154
This commit is contained in:
Steven R. Loomis 2003-05-29 01:15:29 +00:00
parent 56811ca2fe
commit 5c9ad4b7cd
7 changed files with 12 additions and 8 deletions

View file

@ -16,8 +16,7 @@
#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#if !UCONFIG_NO_IDNA && !UCONFIG_NO_TRANSLITERATION
#include "idnaref.h"
#include "strprep.h"
#include "punyref.h"
@ -987,5 +986,4 @@ CLEANUP:
return result;
}
#endif /* #if !UCONFIG_NO_IDNA */

View file

@ -139,7 +139,7 @@ void MajorTestLevel::runIndexedTest( int32_t index, UBool exec, const char* &nam
#endif
break;
case 10: name = "idna";
#if !UCONFIG_NO_IDNA
#if !UCONFIG_NO_IDNA && !UCONFIG_NO_TRANSLITERATION
if(exec){
logln("TestSuite IDNA----"); logln();
TestIDNA test;

View file

@ -16,6 +16,7 @@
#include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION
#if !UCONFIG_NO_IDNA
#include "nptrans.h"
@ -277,3 +278,4 @@ UBool NamePrepTransform::isLabelSeparator(UChar32 ch, UErrorCode& status){
}
#endif /* #if !UCONFIG_NO_IDNA */
#endif /* #if !UCONFIG_NO_TRANSLITERATION */

View file

@ -20,6 +20,7 @@
#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#if !UCONFIG_NO_TRANSLITERATION
#include "strprep.h"
#include "unicode/uniset.h"
@ -145,6 +146,10 @@ inline UBool NamePrepTransform::isLDHChar(UChar32 ch){
return FALSE;
}
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
#else
class NamePrepTransform {
};
#endif /* #if !UCONFIG_NO_IDNA */
#endif

View file

@ -23,7 +23,7 @@
#include <stdlib.h>
#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#if !UCONFIG_NO_IDNA && !UCONFIG_NO_TRANSLITERATION
#include "unicode/uchar.h"
#include "unicode/putil.h"

View file

@ -16,7 +16,7 @@
#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#if !UCONFIG_NO_IDNA && !UCONFIG_NO_TRANSLITERATION
#include "unicode/uidna.h"
#include <time.h>

View file

@ -19,7 +19,7 @@
#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#if !UCONFIG_NO_IDNA && !UCONFIG_NO_TRANSLITERATION
#include "sprpimpl.h"
#include "intltest.h"
@ -64,7 +64,6 @@ public:
void TestRefIDNA();
void TestIDNAMonkeyTest();
void TestConformance();
static NamePrepTransform* getInstance(UErrorCode& status);
static NamePrepTransform* prep;
private: