commit | b49d3c7834c9448e137d88c510f30963661ff7d9 | [log] [tgz] |
---|---|---|
author | Jon Skeet <skeet@pobox.com> | Tue Nov 03 16:51:01 2009 +0000 |
committer | Jon Skeet <skeet@pobox.com> | Tue Nov 03 16:51:01 2009 +0000 |
tree | 621c1e2306bfb99a98b7c29aa723327f7d137c51 | |
parent | 0aac0e4fe3a329431fa58710c780b02748c07301 [diff] [blame] |
Support Compact Framework 3.5
diff --git a/src/ProtocolBuffers/CodedInputStream.cs b/src/ProtocolBuffers/CodedInputStream.cs index 0295d19..a929df2 100644 --- a/src/ProtocolBuffers/CodedInputStream.cs +++ b/src/ProtocolBuffers/CodedInputStream.cs
@@ -163,7 +163,7 @@ /// Read a double field from the stream. /// </summary> public double ReadDouble() { -#if SILVERLIGHT2 +#if SILVERLIGHT2 || COMPACT_FRAMEWORK_35 byte[] bytes = ReadRawBytes(8); return BitConverter.ToDouble(bytes, 0); #else