summaryrefslogtreecommitdiff
path: root/plugins/Twitter/twitter.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-06 08:16:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-06 08:16:09 +0000
commita4c70f6bedb25e5cffb08dfc5cbc2597d1642d6b (patch)
tree20db522d4733f5e50e00f78b82e75f2b7671789c /plugins/Twitter/twitter.h
parent721f5bbb2a8e903e7793434c4f2430f49c5036dc (diff)
oops :)
git-svn-id: http://svn.miranda-ng.org/main/trunk@326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Twitter/twitter.h')
-rw-r--r--plugins/Twitter/twitter.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/Twitter/twitter.h b/plugins/Twitter/twitter.h
index cf60265152..06f8aca954 100644
--- a/plugins/Twitter/twitter.h
+++ b/plugins/Twitter/twitter.h
@@ -24,7 +24,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "http.h"
#include <tchar.h>
-#define tstring wstring
+#if !defined(tstring)
+ #ifdef _UNICODE
+ #define tstring wstring
+ #else
+ #define tstring string
+ #endif
+#endif
+
typedef unsigned long long twitter_id;
struct twitter_status