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
This commit is contained in:
parent
0657260dbe
commit
f38fb13b98
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue