put macros definition into parenthesis to avoid bugs
This commit is contained in:
@@ -41,8 +41,8 @@
|
|||||||
# define TO_WSTRING(x) ToWString(x)
|
# define TO_WSTRING(x) ToWString(x)
|
||||||
#else
|
#else
|
||||||
# define my_char_t char
|
# define my_char_t char
|
||||||
# define TO_STRING(x) x
|
# define TO_STRING(x) (x)
|
||||||
# define TO_WSTRING(x) x
|
# define TO_WSTRING(x) (x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::string ToString(const std::wstring &);
|
std::string ToString(const std::wstring &);
|
||||||
|
|||||||
Reference in New Issue
Block a user