1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -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/unix/unix.h"
#include "osdep/win32/win32.h" #include "osdep/win32/win32.h"
#ifndef CHAR_DIR_SEP
#define CHAR_DIR_SEP '/'
#endif
#ifndef STRING_DIR_SEP #ifndef STRING_DIR_SEP
#define STRING_DIR_SEP "/" #define STRING_DIR_SEP "/"
#endif #endif

View File

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