fixed bug #1661503: inconsistency between Win32/Linux makensis command line options

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4961 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
pabs3 2007-03-02 04:35:35 +00:00
parent 9cbba1c7ba
commit 3d7194ee59
3 changed files with 12 additions and 20 deletions

View file

@ -116,11 +116,13 @@ typedef DWORDLONG ULONGLONG,*PULONGLONG;
# define PLATFORM_PATH_SEPARATOR_C '\\'
# define OPT_STR "/"
# define OPT_C '/'
# define IS_OPT(a) (a[0]==OPT_C||a[0]=='-')
#else
# define PLATFORM_PATH_SEPARATOR_STR "/"
# define PLATFORM_PATH_SEPARATOR_C '/'
# define OPT_STR "-"
# define OPT_C '-'
# define IS_OPT(a) (a[0]==OPT_C)
#endif
// attributes