(Fexpand_file_name) [DOS_NT]: Correct the `if' clause
to compile on all platforms.
This commit is contained in:
parent
8b09e5d05c
commit
34097368e8
1 changed files with 3 additions and 3 deletions
|
@ -1164,13 +1164,13 @@ See also the function `substitute-in-file-name'.")
|
|||
/* Finally, if no prefix has been specified and nm is not absolute,
|
||||
then it must be expanded relative to default_directory. */
|
||||
|
||||
if (
|
||||
if (1
|
||||
#ifndef DOS_NT
|
||||
/* /... alone is not absolute on DOS and Windows. */
|
||||
!IS_DIRECTORY_SEP (nm[0])
|
||||
&& !IS_DIRECTORY_SEP (nm[0])
|
||||
#endif
|
||||
#ifdef WINDOWSNT
|
||||
!(IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1]))
|
||||
&& !(IS_DIRECTORY_SEP (nm[0]) && IS_DIRECTORY_SEP (nm[1]))
|
||||
#endif
|
||||
#ifdef VMS
|
||||
&& !index (nm, ':')
|
||||
|
|
Loading…
Add table
Reference in a new issue