Skip to content

Commit

Permalink
Remove MFC defines from windows.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Feb 8, 2024
1 parent ab4e462 commit c788ec1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cfg/windows.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7010,14 +7010,6 @@ HFONT CreateFont(
<define name="afx_msg" value=""/>
<define name="AFX_EXT_CLASS" value=""/>
<define name="DEBUG_NEW" value="new"/>
<define name="DECLARE_MESSAGE_MAP()" value=""/>
<define name="DECLARE_DYNAMIC(x)" value=""/>
<define name="DECLARE_DYNAMIC_CLASS(x)" value=""/>
<define name="DECLARE_DYNCREATE(x)" value=""/>
<define name="DECLARE_SERIAL(x)" value=""/>
<define name="IMPLEMENT_DYNAMIC(name,base)" value=""/>
<define name="IMPLEMENT_DYNCREATE(name,base)" value=""/>
<define name="IMPLEMENT_SERIAL(name,base,schema)" value=""/>
<define name="INVALID_HANDLE_VALUE" value="0"/>
<define name="INVALID_SOCKET" value="0"/>
<define name="WINAPI" value="__stdcall"/>
Expand Down
4 changes: 4 additions & 0 deletions test/testlibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,10 @@ class TestLibrary : public TestFixture {
const Settings s = settingsBuilder().library("std.cfg").library("microsoft_sal.cfg").build();
ASSERT_EQUALS(s.library.defines.empty(), false);
}
{
const Settings s = settingsBuilder().library("std.cfg").library("windows.cfg").library("mfc.cfg").build();
ASSERT_EQUALS(s.library.defines.empty(), false);
}
}
};

Expand Down

0 comments on commit c788ec1

Please sign in to comment.