From ad25f17f1e74e8250d1df3c1a43719f31bff44a3 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Fri, 22 Aug 2008 20:04:48 +0000 Subject: [PATCH] No UNC paths on Symbian. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3044 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/port.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sc2/src/port.h b/sc2/src/port.h index 89eef171c..fc30297f8 100644 --- a/sc2/src/port.h +++ b/sc2/src/port.h @@ -503,19 +503,22 @@ typedef unsigned int wint_t; # define UNBUFFERED_LOGFILE #endif +// Variations in path handling #if defined(WIN32) || defined(__SYMBIAN32__) // HAVE_DRIVE_LETTERS is defined to signify that DOS/Windows style drive // letters are to be recognised on this platform. # define HAVE_DRIVE_LETTERS - // HAVE_UNC_PATHS is defined to signify that Universal Naming Convention - // style paths are to be recognised on this platform. -# define HAVE_UNC_PATHS // BACKSLASH_IS_PATH_SEPARATOR is defined to signify that the backslash // character is to be recognised as a path separator on this platform. // This does not affect the acceptance of forward slashes as path // separators. # define BACKSLASH_IS_PATH_SEPARATOR #endif +#if defined(WIN32) + // HAVE_UNC_PATHS is defined to signify that Universal Naming Convention + // style paths are to be recognised on this platform. +# define HAVE_UNC_PATHS +#endif #endif /* _PORT_H */