From fe814771cef701415497dcbc39c4913309b26f31 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 18 Oct 2018 14:57:43 -1000 Subject: [PATCH] _SYS_STR macro fix --- include/kabufuda/Util.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/kabufuda/Util.hpp b/include/kabufuda/Util.hpp index 5af53f2..64efe89 100644 --- a/include/kabufuda/Util.hpp +++ b/include/kabufuda/Util.hpp @@ -241,8 +241,8 @@ public: 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(); } -#ifndef _S -#define _S(val) val +#ifndef _SYS_STR +#define _SYS_STR(val) val #endif typedef struct stat Sstat; #endif