Skip to content

Commit 7eaffbb

Browse files
authored
Merge pull request #820 from daveinglis/windows_blocks_enabled
Enable the ‘blocks’ language feature on Windows
2 parents d67879e + 058232a commit 7eaffbb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Sources/SWBWindowsPlatform/Specs/WindowsCompile.xcspec

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@
3737
SupportsMacOSXMinVersionFlag = No;
3838
SupportsIsysroot = No;
3939
Options = (
40+
{
41+
Name = "ENABLE_BLOCKS";
42+
Type = Boolean;
43+
DefaultValue = YES;
44+
CommandLineArgs = {
45+
YES = ("-fblocks");
46+
NO = ();
47+
};
48+
Category = CodeGeneration;
49+
},
4050
);
4151
},
4252
{

0 commit comments

Comments
 (0)