summaryrefslogtreecommitdiff
path: root/src/modules/json/JSONDefs.h
diff options
context:
space:
mode:
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