Index: ext/libicpf/src/gen_types.h =================================================================== diff -u -r0a8f8213227aae4dd9dbfe5078b80b3a15bc030c -r715fea7874b61921a42db6e8925029a69f678b89 --- ext/libicpf/src/gen_types.h (.../gen_types.h) (revision 0a8f8213227aae4dd9dbfe5078b80b3a15bc030c) +++ ext/libicpf/src/gen_types.h (.../gen_types.h) (revision 715fea7874b61921a42db6e8925029a69f678b89) @@ -143,6 +143,13 @@ /// untyped pointer typedef void* ptr_t; +/// std::string or std::wstring dependent on _UNICODE macro +#ifdef _UNICODE + #define tstring std::wstring +#else + #define tstring std::string +#endif + // formatting-related macros // chars /// Printf-style format string for displaying char_t value (as char)