ICU-1075 Change tests to try to run if ICU_DATA is not set in environment

X-SVN-Rev: 5408
This commit is contained in:
Andy Heninger 2001-07-31 23:32:59 +00:00
parent b3863c461c
commit 4ebe7ffce1
2 changed files with 78 additions and 78 deletions

View File

@ -229,7 +229,7 @@ void ctest_setICU_DATA() {
*/
#if defined (U_SRCDATADIR)
{
static const char* env_string = "ICU_DATA=" U_SRCDATADIR;
static char env_string[] = "ICU_DATA=" U_SRCDATADIR;
putenv(env_string);
return;
}

View File

@ -527,7 +527,7 @@ void IntlTest::setICU_DATA() {
*/
#if defined (U_SRCDATADIR)
{
static const char* env_string = "ICU_DATA=" U_SRCDATADIR;
static char env_string[] = "ICU_DATA=" U_SRCDATADIR;
putenv(env_string);
return;
}