NDS32 build fixes
[binutils-gdb.git] / readline / tilde.c
index 3788eba628a8ee863e4b1a600b6125be3f1ddff5..1c53a457d46ba17e3215f65476e3771a129de8e0 100644 (file)
@@ -360,10 +360,6 @@ tilde_expand_word (filename)
     {
       /* Prefix $HOME to the rest of the string. */
       expansion = sh_get_env_value ("HOME");
-#if defined (_WIN32)
-      if (expansion == 0)
-       expansion = sh_get_env_value ("APPDATA");
-#endif
 
       /* If there is no HOME variable, look up the directory in
         the password database. */