]> granicus.if.org Git - postgis/commitdiff
make LWGEOM_{to,from}_bytea available to all pgsql versions
authorSandro Santilli <strk@keybit.net>
Fri, 7 Jan 2005 12:00:51 +0000 (12:00 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 7 Jan 2005 12:00:51 +0000 (12:00 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1251 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_inout.c

index 420238483037f101cf395b68834e8ecf4a62c7c8..c60e03f05350ea21ff20ae0c979428d849e21353 100644 (file)
@@ -516,6 +516,8 @@ Datum LWGEOM_send(PG_FUNCTION_ARGS)
         PG_RETURN_POINTER(result);
 }
 
+#endif // USE_VERSION > 73
+
 PG_FUNCTION_INFO_V1(LWGEOM_to_bytea);
 Datum LWGEOM_to_bytea(PG_FUNCTION_ARGS)
 {
@@ -546,4 +548,3 @@ Datum LWGEOM_from_bytea(PG_FUNCTION_ARGS)
         PG_RETURN_POINTER(result);
 }
 
-#endif // USE_VERSION > 73