git.iko.soy/typeable/postgresql-simple
on master help sign in
Tweak CPP directive
3e6e624Leon P Smith
src/Database/PostgreSQL/Simple/FromField.hs+1−1
@@ -476,7 +476,7 @@ instance FromField JSON.Value where
476 Just bs ->
476 Just bs ->
477#if MIN_VERSION_aeson(0,6,3)
477#if MIN_VERSION_aeson(0,6,3)
478 case JSON.eitherDecodeStrict' bs of
478 case JSON.eitherDecodeStrict' bs of
479−#elsif MIN_VERSION_bytestring(0,10,0)
479+#elif MIN_VERSION_bytestring(0,10,0)
480 case JSON.eitherDecode' $ LB.fromStrict bs of
480 case JSON.eitherDecode' $ LB.fromStrict bs of
481#else
481#else
482 case JSON.eitherDecode' $ LB.fromChunks [bs] of
482 case JSON.eitherDecode' $ LB.fromChunks [bs] of