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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user