diff options
author | csharptest <roger@csharptest.net> | 2012-10-14 19:50:52 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2012-10-14 19:50:52 -0500 |
commit | efc90f40009924c2e2863cfadbf4f937dd045e9d (patch) | |
tree | fdb8f68d9b7532241a6ebfad940e6ab3ee784d3e /src/ProtocolBuffers/FrameworkPortability.cs | |
parent | 6716432ca60b1ad53b20165d9bc29f853fcf1deb (diff) | |
download | protobuf-efc90f40009924c2e2863cfadbf4f937dd045e9d.tar.gz protobuf-efc90f40009924c2e2863cfadbf4f937dd045e9d.tar.bz2 protobuf-efc90f40009924c2e2863cfadbf4f937dd045e9d.zip |
Changes to support the Portable Library profile
Diffstat (limited to 'src/ProtocolBuffers/FrameworkPortability.cs')
-rw-r--r-- | src/ProtocolBuffers/FrameworkPortability.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ProtocolBuffers/FrameworkPortability.cs b/src/ProtocolBuffers/FrameworkPortability.cs index fee8fbac..8ce81987 100644 --- a/src/ProtocolBuffers/FrameworkPortability.cs +++ b/src/ProtocolBuffers/FrameworkPortability.cs @@ -52,10 +52,10 @@ namespace Google.ProtocolBuffers internal static readonly string NewLine = System.Environment.NewLine;
#endif
-#if SILVERLIGHT
- internal const RegexOptions CompiledRegexWhereAvailable = RegexOptions.None;
-#else
+#if CLIENTPROFILE
internal const RegexOptions CompiledRegexWhereAvailable = RegexOptions.Compiled;
+#else
+ internal const RegexOptions CompiledRegexWhereAvailable = RegexOptions.None;
#endif
internal static CultureInfo InvariantCulture
|