]> granicus.if.org Git - graphviz/commitdiff
Fix the actions.c code to compile under Visual Studio.
authorEmden R. Gansner <erg@alum.mit.edu>
Fri, 24 Oct 2014 17:57:30 +0000 (13:57 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Fri, 24 Oct 2014 17:57:30 +0000 (13:57 -0400)
lib/gvpr/actions.c

index 08f3ea6146c45f36f9ef6b244ff849f71bf0973d..2016cac1c9332af6d2b1d9dbdd2ad1eb5d3aeaa2 100644 (file)
@@ -813,6 +813,8 @@ char *canon(Expr_t * pgm, char *arg)
 }
 
 #undef S
+#define grealloc(p,x) gvpr_grealloc(p,x)
+
 static void *grealloc(void *ptr, size_t size)
 {
     void *p = realloc(ptr, size);