From 95788a9d1f9144fe860a9a3b0f93a11370fdc443 Mon Sep 17 00:00:00 2001 From: Dwight Perry Date: Tue, 28 Feb 2012 12:47:36 -0500 Subject: [PATCH] Bug fixed --- lib/common/emit.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.40.0