From: Dwight Perry Date: Tue, 28 Feb 2012 17:47:36 +0000 (-0500) Subject: Bug fixed X-Git-Tag: LAST_LIBGRAPH~32^2~468^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95788a9d1f9144fe860a9a3b0f93a11370fdc443;p=graphviz Bug fixed --- diff --git a/lib/common/emit.c b/lib/common/emit.c index b24525cd2..71a5df2e1 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -28,6 +28,10 @@ #include "gvc.h" #include "xdot.h" +#ifdef WIN32 +#define strtok_r strtok_s +#endif + #define P2RECT(p, pr, sx, sy) (pr[0].x = p.x - sx, pr[0].y = p.y - sy, pr[1].x = p.x + sx, pr[1].y = p.y + sy) #define FUZZ 3 #define EPSILON .0001