summaryrefslogtreecommitdiff
path: root/src/modules/json/JSONDefs.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-23 17:32:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-23 17:32:07 +0000
commit8c33681f317706acf4cd319927a2e37fc78c2256 (patch)
tree9b60033e353e050a7eaf534dfc2cff594f76d2ea /src/modules/json/JSONDefs.h
parentd11afafa9a4ffcf5c33f64d55d1ce22e452d6120 (diff)
- warning fixes
- code formatting git-svn-id: http://svn.miranda-ng.org/main/trunk@577 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/json/JSONDefs.h')
-rw-r--r--src/modules/json/JSONDefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/json/JSONDefs.h b/src/modules/json/JSONDefs.h
index 678d059400..e354a0b9fa 100644
--- a/src/modules/json/JSONDefs.h
+++ b/src/modules/json/JSONDefs.h
@@ -25,6 +25,7 @@
#error, You can not use unicode under ISO Strict C++
#endif
#define json_char wchar_t
+ #define json_uchar wchar_t
#ifdef __cplusplus
#include <cwchar> //need wide characters
typedef std::wstring json_string;
@@ -36,6 +37,7 @@
#define json_strcmp wcscmp
#else
#define json_char char
+ #define json_uchar BYTE
#ifdef __cplusplus
typedef std::string json_string;
#endif