Skip to content

Commit d8994ca

Browse files
committed
Remove Windows support completely for now
Since the managed libraries are built on Windows when packaging, the released nuget would get a Mono.Unix.dll which would attempt to look up `libc` symbols in `msvcrt`, which would break. Since we currently don't support Windows at all, remove support for `msvcrt` Bump version to 7.1.0
1 parent 74d504f commit d8994ca

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

Mono.Unix.Common.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,4 @@
1515
<StrongNameKeyId>Open</StrongNameKeyId>
1616
<LangVersion>latest</LangVersion>
1717
</PropertyGroup>
18-
19-
<PropertyGroup Condition=" '$([MSBuild]::IsOSPlatform(Windows))' == 'false' ">
20-
<DefineConstants>$(DefineConstants);FORCE_USE_LIBC_NOT_MSVC</DefineConstants>
21-
</PropertyGroup>
2218
</Project>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<VersionPrefix>7.0.1</VersionPrefix>
4+
<VersionPrefix>7.1.0</VersionPrefix>
55
<!-- <PreReleaseVersionLabel>final</PreReleaseVersionLabel>
66
<PreReleaseVersionIteration>1</PreReleaseVersionIteration> -->
77
</PropertyGroup>

src/Mono.Unix/Mono.Unix.Native/Stdlib.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,11 +384,7 @@ static XPrintfFunctions ()
384384
//
385385
public class Stdlib
386386
{
387-
#if FORCE_USE_LIBC_NOT_MSVC
388387
internal const string LIBC = "c";
389-
#else
390-
internal const string LIBC = "msvcrt";
391-
#endif
392388
internal const string MPH = "Mono.Unix";
393389

394390
// It is possible for Mono.Posix and Mono.Unix to get out of sync,

0 commit comments

Comments
 (0)