This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Define PERL_NO_DEV_RANDOM on Windows
authorAlex Davies <adavies@ptc.com>
Thu, 3 Aug 2006 13:31:14 +0000 (09:31 -0400)
committerSteve Hay <SteveHay@planit.com>
Mon, 7 Aug 2006 16:58:16 +0000 (16:58 +0000)
From: "Davies, Alex" <adavies@ptc.com>
Message-ID: <A69AA663CE9BBC44AE1DA72483DE15DE04622D66@HQ-MAIL3.ptcnet.ptc.com>

This stops perl from trying to read C:\dev\urandom on Windows

p4raw-id: //depot/perl@28671

dosish.h

index 94a15af..0667b54 100644 (file)
--- a/dosish.h
+++ b/dosish.h
 #define WUNTRACED             0
 
 #endif
+
+/* Don't go reading from /dev/urandom */
+#define PERL_NO_DEV_RANDOM