File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1430,9 +1430,6 @@ static void U_CALLCONV dataDirectoryInitFn() {
14301430 }
14311431
14321432 const char *path = nullptr ;
1433- #if defined(ICU_DATA_DIR_PREFIX_ENV_VAR)
1434- char datadir_path_buffer[PATH_MAX];
1435- #endif
14361433
14371434 /*
14381435 When ICU_NO_USER_DATA_OVERRIDE is defined, users aren't allowed to
@@ -1462,6 +1459,9 @@ static void U_CALLCONV dataDirectoryInitFn() {
14621459 * set their own path.
14631460 */
14641461#if defined(ICU_DATA_DIR) || defined(U_ICU_DATA_DEFAULT_DIR)
1462+ # if defined(ICU_DATA_DIR_PREFIX_ENV_VAR)
1463+ char datadir_path_buffer[PATH_MAX];
1464+ # endif
14651465 if (path==nullptr || *path==0 ) {
14661466# if defined(ICU_DATA_DIR_PREFIX_ENV_VAR)
14671467 const char *prefix = getenv (ICU_DATA_DIR_PREFIX_ENV_VAR);
You can’t perform that action at this time.
0 commit comments