diff options
author | Adam Sitnik <adam.sitnik@gmail.com> | 2020-08-07 10:16:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 10:16:19 +0300 |
commit | c073e574a6d144dfe5499bc2aa96122581250325 (patch) | |
tree | e7a97edf176a7b49d836b27a657174bd6b14ec15 /src/coreclr/clr.featuredefines.props | |
parent | 74611e5a2148a94b9854e6e38a956a94ace37b19 (diff) |
Implement platform guards in OperatingSystem class (#40457)
* add Is$OsName methods to OperatingSystem class
* add OperatingSystem.*VersionAtLeast methods
* add IsOSPlatform and IsOSPlatformVersionAtLeast
* add xml comments
* address code review suggestions
* move TARGET_* defines to a common file
Diffstat (limited to 'src/coreclr/clr.featuredefines.props')
-rw-r--r-- | src/coreclr/clr.featuredefines.props | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/coreclr/clr.featuredefines.props b/src/coreclr/clr.featuredefines.props index b5979c8d239..c5119c80424 100644 --- a/src/coreclr/clr.featuredefines.props +++ b/src/coreclr/clr.featuredefines.props @@ -66,9 +66,5 @@ <DefineConstants Condition="'$(ProfilingSupportedBuild)' == 'true'">$(DefineConstants);PROFILING_SUPPORTED</DefineConstants> <DefineConstants Condition="'$(FeatureProfAttach)' == 'true'">$(DefineConstants);FEATURE_PROFAPI_ATTACH_DETACH</DefineConstants> - - <DefineConstants Condition="'$(TargetsUnix)' == 'true'">$(DefineConstants);TARGET_UNIX</DefineConstants> - <DefineConstants Condition="'$(TargetsWindows)' == 'true'">$(DefineConstants);TARGET_WINDOWS</DefineConstants> - <DefineConstants Condition="'$(TargetsOSX)' == 'true'">$(DefineConstants);TARGET_OSX</DefineConstants> </PropertyGroup> </Project> |