From: Matthew Fernandez Date: Sun, 11 Oct 2020 15:52:06 +0000 (-0700) Subject: suppress a -Wundef warning X-Git-Tag: 2.46.0~20^2^2~12^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=108d5e3910c4842e1e26aa7ec6a58e4888fa00d3;p=graphviz suppress a -Wundef warning --- diff --git a/lib/ortho/partition.c b/lib/ortho/partition.c index 44b443dc4..029787e45 100644 --- a/lib/ortho/partition.c +++ b/lib/ortho/partition.c @@ -19,6 +19,10 @@ #include #include +#ifndef DEBUG + #define DEBUG 0 +#endif + #define NPOINTS 4 /* only rectangles */ #define TRSIZE(ss) (5*(ss)+1) @@ -303,7 +307,7 @@ make_new_monotone_poly (int mcur, int v0, int v1) vp0->nextfree++; vp1->nextfree++; -#ifdef DEBUG +#if DEBUG > 0 fprintf(stderr, "make_poly: mcur = %d, (v0, v1) = (%d, %d)\n", mcur, v0, v1); fprintf(stderr, "next posns = (p, q) = (%d, %d)\n", p, q);