From: Emden Gansner Date: Mon, 11 Feb 2013 18:53:13 +0000 (-0500) Subject: Make sure gdefs.h has debug info in it, to be turned on at final compile time. X-Git-Tag: LAST_LIBGRAPH~32^2~239 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f4b0349c0e08a768e568dad2406bdf06bd3a039;p=graphviz Make sure gdefs.h has debug info in it, to be turned on at final compile time. --- diff --git a/lib/gvpr/mkdefs.c b/lib/gvpr/mkdefs.c index 998ef96bc..b1d9b7041 100644 --- a/lib/gvpr/mkdefs.c +++ b/lib/gvpr/mkdefs.c @@ -186,13 +186,11 @@ int main(int argc, char *argv[]) } fprintf(fp, "};\n"); -#ifdef DEBUG - fprintf(fp, "\nstatic char* gprnames[] = {\n\t\"\",\n"); + fprintf(fp, "\n#ifdef DEBUG\nstatic char* gprnames[] = {\n\t\"\",\n"); for (recp = vals.next; recp; recp = recp->next) { fprintf(fp, "\t\"%s\",\n", recp->symbol); } - fprintf(fp, "};\n"); -#endif + fprintf(fp, "};\n#endif\n"); fprintf(fp, "\ntypedef unsigned short tctype;\n"); fprintf(fp, "\nstatic tctype tchk[][2] = {\n\t{ 0, 0 },\n");