diff --git a/src/osdep/osdep.h b/src/osdep/osdep.h index 5f405334..36bc0bfc 100644 --- a/src/osdep/osdep.h +++ b/src/osdep/osdep.h @@ -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 diff --git a/src/osdep/win32/win32.h b/src/osdep/win32/win32.h index 8ef4239b..2e09bc5f 100644 --- a/src/osdep/win32/win32.h +++ b/src/osdep/win32/win32.h @@ -4,6 +4,8 @@ #ifdef CONFIG_OS_WIN32 +#undef CHAR_DIR_SEP +#define CHAR_DIR_SEP '\\' #undef STRING_DIR_SEP #define STRING_DIR_SEP "\\"