-Fixed build

This commit is contained in:
James Newton-King
2012-11-09 22:27:27 +13:00
parent 89883dc57b
commit aa0ffe4985
4 changed files with 5 additions and 4 deletions
@@ -332,7 +332,7 @@ namespace Newtonsoft.Json.Utilities
if (targetType == typeof (Uri))
return new Uri((string) initialValue, UriKind.RelativeOrAbsolute);
if (targetType == typeof (TimeSpan))
#if !(NET35 || NET20 || PORTABLE)
#if !(NET35 || NET20 || PORTABLE || WINDOWS_PHONE)
return TimeSpan.Parse((string) initialValue, CultureInfo.InvariantCulture);
#else
return TimeSpan.Parse((string)initialValue);