define:定义UNICODE
This commit is contained in:
parent
9c396fc579
commit
f8adaf2386
@ -6,6 +6,12 @@
|
||||
#ifdef UNICODE_OFSTR
|
||||
using ofString = std::wstring;
|
||||
#define ofT(text) L##text
|
||||
#ifndef UNICODE
|
||||
#define UNICODE
|
||||
#endif
|
||||
#ifndef _UNICODE
|
||||
#define _UNICODE
|
||||
#endif
|
||||
#else
|
||||
using ofString = std::string;
|
||||
#define ofT(text) text
|
||||
|
Loading…
x
Reference in New Issue
Block a user