mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-1075 fixed syntax errors on Unix
X-SVN-Rev: 5402
This commit is contained in:
parent
12a80993e6
commit
458f5dabb3
2 changed files with 4 additions and 4 deletions
|
@ -229,9 +229,9 @@ void ctest_setICU_DATA() {
|
|||
*/
|
||||
#if defined (U_SRCDATADIR)
|
||||
{
|
||||
static const char env_string = "ICU_DATA=" U_SRCDATADIR;
|
||||
static const char* env_string = "ICU_DATA=" U_SRCDATADIR;
|
||||
putenv(env_string);
|
||||
return
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -527,9 +527,9 @@ void IntlTest::setICU_DATA() {
|
|||
*/
|
||||
#if defined (U_SRCDATADIR)
|
||||
{
|
||||
static const char env_string = "ICU_DATA=" U_SRCDATADIR;
|
||||
static const char* env_string = "ICU_DATA=" U_SRCDATADIR;
|
||||
putenv(env_string);
|
||||
return
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue