summaryrefslogtreecommitdiff
path: root/win32/config.vc
diff options
context:
space:
mode:
Diffstat (limited to 'win32/config.vc')
-rw-r--r--win32/config.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/config.vc b/win32/config.vc
index 8d7e74155c..c9ef76c339 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -331,7 +331,7 @@ direntrytype='struct direct'
dlext='dll'
dlsrc='dl_win32.xs'
doublesize='8'
-drand01='rand()'
+drand01='(rand()/(double)((unsigned)1<<RANDBITS))'
dynamic_ext='Socket IO Fcntl Opcode SDBM_File attrs Thread'
eagain='EAGAIN'
ebcdic='undef'