Introduce conditional wchar_t (and std::wstring) support

The support is turned on by default but the user might need to be able
to turn it off which is now possible by defining CATCH_CONFIG_NO_WCHAR.
This commit is contained in:
Tomas Zeman
2018-03-01 18:41:17 +01:00
committed by Martin Hořeňovský
parent 865d5f59b4
commit 352853ed7e
8 changed files with 22 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace Catch {
void useConfigData( ConfigData const& configData );
int run( int argc, char* argv[] );
#if defined(WIN32) && defined(UNICODE)
#if defined(CATCH_CONFIG_WCHAR) && defined(WIN32) && defined(UNICODE)
int run( int argc, wchar_t* const argv[] );
#endif
int run();