diff --git a/include/stdex/system.hpp b/include/stdex/system.hpp index 713bbbb1f..51e2d13fc 100644 --- a/include/stdex/system.hpp +++ b/include/stdex/system.hpp @@ -31,6 +31,14 @@ #endif #endif +#if defined(_WIN32) +#define PATH_SEPARATOR '\\' +#define PATH_SEPARATOR_STR "\\" +#else +#define PATH_SEPARATOR '/' +#define PATH_SEPARATOR_STR "/" +#endif + namespace stdex { ///