Use backslashes on Windows.
Although Windows itself supports the forward slash, some programs may not.
This commit is contained in:
parent
09a8ff649c
commit
18237e1f2d
7 changed files with 50 additions and 44 deletions
6
have.h
6
have.h
|
|
@ -200,4 +200,10 @@
|
|||
#include <event.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MINGW
|
||||
#define SLASH "\\"
|
||||
#else
|
||||
#define SLASH "/"
|
||||
#endif
|
||||
|
||||
#endif /* __TINC_SYSTEM_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue