From f38fb13b98f2d70e055aed26fbe4d01bf5e7da86 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 12 Nov 2004 13:58:21 +0000 Subject: [PATCH] applied patch #1055553 (with some changes) - Absolute path of *.nsi not accepted on posix git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3765 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/Platform.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Platform.h b/Source/Platform.h index b339cef1..8072c982 100644 --- a/Source/Platform.h +++ b/Source/Platform.h @@ -58,14 +58,18 @@ typedef WORD LANGID; # define PATH_SEPARATOR_STR "\\" # define PATH_SEPARATOR_C '\\' -// system specific separator +// system specific characters #ifdef _WIN32 # define PLATFORM_PATH_SEPARATOR_STR "\\" # define PLATFORM_PATH_SEPARATOR_C '\\' +# define OPT_STR "/" +# define OPT_C '/' #else # define PLATFORM_PATH_SEPARATOR_STR "/" # define PLATFORM_PATH_SEPARATOR_C '/' +# define OPT_STR "-" +# define OPT_C '-' #endif // attributes