From: glenlow Date: Tue, 26 May 2009 04:38:59 +0000 (+0000) Subject: Carefully reapplied r1.75 without clobbering changes X-Git-Tag: LAST_LIBGRAPH~32^2~2015 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4cd7d69baebd2047a8c7142416ea1e01f8518e2;p=graphviz Carefully reapplied r1.75 without clobbering changes --- diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index 90f8a65b7..1a6ab2556 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -1117,7 +1117,7 @@ setSeed (graph_t * G, int dflt, long* seedp) long seed; /* Check for seed value */ if (!isdigit(*(unsigned char *)p) || sscanf(p, "%ld", &seed) < 1) { -#ifdef MSWIN32 +#if defined(MSWIN32) || defined(WIN32) seed = (unsigned) time(NULL); #else seed = (unsigned) getpid() ^ (unsigned) time(NULL);