summaryrefslogtreecommitdiff
path: root/protocols/Twitter/StringConv.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/StringConv.h')
-rw-r--r--protocols/Twitter/StringConv.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/protocols/Twitter/StringConv.h b/protocols/Twitter/StringConv.h
index c5266f574d..ec25c15ef7 100644
--- a/protocols/Twitter/StringConv.h
+++ b/protocols/Twitter/StringConv.h
@@ -39,20 +39,13 @@ inline std::wstring UTF8ToWide(const std::string& str) { return MBToWide(str, C
inline std::string ANSIToUTF8(const std::string& str, UINT codePage = CP_ACP) { return WideToUTF8(MBToWide(str, codePage)); }
inline std::string UTF8ToANSI(const std::string& str, UINT codePage = CP_ACP) { return WideToMB(UTF8ToWide(str), codePage); }
-#ifdef _UNICODE
+
#define TCHARToUTF8 WideToUTF8
#define UTF8ToTCHAR UTF8ToWide
#define TCHARToWide
#define WideToTCHAR
#define TCHARToMB WideToMB
#define MBToTCHAR MBToWide
-#else
-#define TCHARToUTF8 ANSIToUTF8
-#define UTF8ToTCHAR UTF8ToANSI
-#define TCHARToWide MBToWide
-#define WideToTCHAR WideToMB
-#define TCHARToMB
-#define MBToTCHAR
-#endif
+
#endif // StringConv_h__