]> granicus.if.org Git - postgis/commitdiff
Move remaining _ST_AsKML() definition into the #if...#endif section just like the...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Thu, 20 Nov 2008 10:10:11 +0000 (10:10 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Thu, 20 Nov 2008 10:10:11 +0000 (10:10 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/1.3@3303 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwpostgis.sql.in

index 86f9fb396500c8b06ca4565cfb936f708a88ed83..ccd4b78cd15356d7c190478284fc58e51af9305e 100644 (file)
@@ -4798,13 +4798,14 @@ CREATEFUNCTION ST_AsGML(int4, geometry, int4)
 -----------------------------------------------------------------------
 -- KML OUTPUT
 -----------------------------------------------------------------------
+
+#ifdef USE_PROJ
 -- _ST_AsKML(version, geom, precision)
 CREATEFUNCTION _ST_AsKML(int4, geometry, int4)
        RETURNS TEXT
        AS '@MODULE_FILENAME@','LWGEOM_asKML'
        LANGUAGE 'C' _IMMUTABLE_STRICT; -- WITH (isstrict,iscachable);
 
-#ifdef USE_PROJ
 -- AsKML(geom, precision) / version=2
 -- Deprecation in 1.2.3
 CREATEFUNCTION AsKML(geometry, int4)