Skip to content

Commit

Permalink
Remove duplicate define from microsoft_sal.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Feb 7, 2024
1 parent d449ee6 commit 59c011b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion cfg/microsoft_sal.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@
<define name="__blocksOn(resource)" value=""/>
<define name="__callback" value=""/>
<define name="__checkReturn" value=""/>
<define name="__format_string" value=""/>
<define name="__in_awcount(expr,size)" value=""/>
<define name="__nullnullterminated" value=""/>
<define name="__nullterminated" value=""/>
Expand Down
4 changes: 4 additions & 0 deletions test/testlibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,10 @@ class TestLibrary : public TestFixture {
const Settings s = settingsBuilder().library("std.cfg").library("gnu.cfg").library("bsd.cfg").build();
ASSERT_EQUALS(s.library.defines.empty(), false);
}
{
const Settings s = settingsBuilder().library("std.cfg").library("microsoft_sal.cfg").build();
ASSERT_EQUALS(s.library.defines.empty(), false);
}
}
};

Expand Down

0 comments on commit 59c011b

Please sign in to comment.