Protect DEBUG lines in compile-time conditional

git-svn-id: http://svn.osgeo.org/postgis/trunk@8914 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2012-01-24 17:29:07 +00:00
parent b2ec478bd1
commit 6b19d9e9c1

View file

@ -62,8 +62,10 @@ BEGIN
retrec.sequence := n;
retrec.edge := curedge;
#ifdef POSTGIS_TOPOLOGY_DEBUG
RAISE DEBUG 'Edge:% left:% right:%',
curedge, rec.next_left_edge, rec.next_right_edge;
#endif
RETURN NEXT retrec;
@ -74,7 +76,9 @@ BEGIN
END IF;
IF nextedge = anedge THEN
#ifdef POSTGIS_TOPOLOGY_DEBUG
RAISE DEBUG ' finish';
#endif
RETURN;
END IF;
@ -84,7 +88,9 @@ BEGIN
curedge := nextedge;
#ifdef POSTGIS_TOPOLOGY_DEBUG
RAISE DEBUG ' curedge:% anedge:%', curedge, anedge;
#endif
n := n + 1;