1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04:00

Introduced CHAR_DIR_SEP

This commit is contained in:
Witold Filipczyk 2006-07-02 16:30:41 +02:00 committed by Witold Filipczyk
parent fa9c449c87
commit f45146ebc5
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,10 @@
#include "osdep/unix/unix.h"
#include "osdep/win32/win32.h"
#ifndef CHAR_DIR_SEP
#define CHAR_DIR_SEP '/'
#endif
#ifndef STRING_DIR_SEP
#define STRING_DIR_SEP "/"
#endif

View File

@ -4,6 +4,8 @@
#ifdef CONFIG_OS_WIN32
#undef CHAR_DIR_SEP
#define CHAR_DIR_SEP '\\'
#undef STRING_DIR_SEP
#define STRING_DIR_SEP "\\"