mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-23 09:48:33 +00:00
FS-4099 --resolve switch windows to use posix delimiter (/) for base paths. This will correct numerous problems with escaped chars. This change only effects windows builds. Please test.
This commit is contained in:
1 parent
dd4a995b34
commit
e22f42334d
3 files changed
+6
-2
No files matched your search
@@ -113,7 +113,7 @@ SWITCH_BEGIN_EXTERN_C
|
||||
#define SWITCH_MAX_DTMF_DURATION 192000
|
||||
#define SWITCH_DEFAULT_DIR_PERMS SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE | SWITCH_FPROT_UEXECUTE | SWITCH_FPROT_GREAD | SWITCH_FPROT_GEXECUTE
|
||||
#ifdef WIN32
|
||||
#define SWITCH_PATH_SEPARATOR "\\"
|
||||
#define SWITCH_PATH_SEPARATOR "/"
|
||||
#else
|
||||
#define SWITCH_PATH_SEPARATOR "/"
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user