Handle paths of the form "d:foo/bar" on platforms which don't have a current working directory per drive.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3057 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2008-08-30 18:25:41 +00:00
parent e663bc4564
commit ace60da23b
2 changed files with 25 additions and 0 deletions
+5
View File
@@ -518,7 +518,12 @@ typedef unsigned int wint_t;
// HAVE_UNC_PATHS is defined to signify that Universal Naming Convention
// style paths are to be recognised on this platform.
# define HAVE_UNC_PATHS
// HAVE_CWD_PER_DRIVE is defined to signify that every drive has its own
// current working directory.
# define HAVE_CWD_PER_DRIVE
#endif
// REJECT_DRIVE_PATH_WITHOUT_SLASH can also be defined, if paths of the form
// "d:foo/bar" (without a slash after the drive letter) are to be rejected.
#endif /* _PORT_H */