Skip to content

Commit 96e8ed0

Browse files
committed
Replacing check for windows with check for microsoft compiler as it possibly works with gcc on windows
1 parent 5ecad24 commit 96e8ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/core/InstructionDecoderTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ std::shared_ptr<T> ptr(fakeit::Mock<T> &mock) {
1717

1818
TEST_SUITE("InstructionDecoderTest") {
1919

20-
#ifndef _WIN32
20+
#ifndef _MSC_VER
2121
TEST_CASE("should call the correct control lines for the different instruction steps") {
2222
fakeit::Mock<MemoryAddressRegister> marMock;
2323
fakeit::Mock<ProgramCounter> pcMock;
@@ -471,7 +471,7 @@ TEST_SUITE("InstructionDecoderTest") {
471471

472472
#else
473473
TEST_CASE("windows no op") {
474-
// This test does not work on Windows due to multiple inheritance issues
474+
// This test does not work with Microsoft C/C++ compiler due to multiple inheritance issues
475475
}
476476
#endif
477477
}

0 commit comments

Comments
 (0)