Skip to content

Commit

Permalink
Remove windows specific code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Jan 12, 2025
1 parent 3e20da9 commit 5739e5a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions test/test_Stl_Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,6 @@ namespace

TESTCASE(AutoRegisterReturn)
{
SetConsoleOutputCP(CP_UTF8);

define_global_function("return_complex_map", &returnComplexMap);

Module m = define_module("Testing");
Expand Down
5 changes: 0 additions & 5 deletions test/test_Stl_Vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,6 @@ TESTCASE(AutoRegisterReturn)

TESTCASE(AutoRegisterParameter)
{
#ifdef _WIN32
// Set console code page to UTF-8 so console known how to interpret string data
SetConsoleOutputCP(CP_UTF8);
#endif

define_global_function("pass_complex_vector", &passComplexVector);

std::string code = u8R"(vector = Rice::Std::Vector≺complex≺double≻≻.new
Expand Down
5 changes: 0 additions & 5 deletions test/test_Type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ namespace Outer

SETUP(Type)
{
#ifdef _WIN32
// Set console code page to UTF-8 so console known how to interpret string data
SetConsoleOutputCP(CP_UTF8);
#endif

embed_ruby();
}

Expand Down

0 comments on commit 5739e5a

Please sign in to comment.