_SYS_STR macro fix

This commit is contained in:
Jack Andersen 2018-10-18 14:57:43 -10:00
parent bd1c3e99f2
commit a1e2242691
1 changed files with 2 additions and 2 deletions

View File

@ -241,8 +241,8 @@ public:
std::string operator+(std::string_view other) const { return std::string(m_sys) + other.data(); } std::string operator+(std::string_view other) const { return std::string(m_sys) + other.data(); }
}; };
inline std::string operator+(std::string_view lhs, const SystemStringConv& rhs) { return std::string(lhs) + rhs.c_str(); } inline std::string operator+(std::string_view lhs, const SystemStringConv& rhs) { return std::string(lhs) + rhs.c_str(); }
#ifndef _S #ifndef _SYS_STR
#define _S(val) val #define _SYS_STR(val) val
#endif #endif
typedef struct stat Sstat; typedef struct stat Sstat;
#endif #endif