]> granicus.if.org Git - graphviz/commitdiff
Bug fixed
authorDwight Perry <dperry@research.att.com>
Tue, 28 Feb 2012 17:47:36 +0000 (12:47 -0500)
committerDwight Perry <dperry@research.att.com>
Tue, 28 Feb 2012 17:47:36 +0000 (12:47 -0500)
lib/common/emit.c

index b24525cd2bee184f7b1724a6a4e259bdb7370934..71a5df2e1e7de34bb0049b1536d44df8f5b626b8 100644 (file)
 #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