]> granicus.if.org Git - graphviz/commitdiff
Change strdup to _strdup for Windows
authorerg <devnull@localhost>
Tue, 19 Apr 2011 22:26:06 +0000 (22:26 +0000)
committererg <devnull@localhost>
Tue, 19 Apr 2011 22:26:06 +0000 (22:26 +0000)
cmd/gvmap/gvmap.c

index 2cbc64a8d25a74c55c39ede60d1b2813510e1c72..c34d15de8a69ad4086734051e0f45e4876a5b148 100644 (file)
@@ -28,7 +28,9 @@
 #include "ingraphs.h"
 #include "DotIO.h"
 #include "colorutil.h"
-
+#ifdef WIN32
+#define strdup(x) _strdup(x)
+#endif
 int Verbose;
 enum {POINTS_ALL = 1, POINTS_LABEL, POINTS_RANDOM};
 enum {maxlen = 10000000};