projects
/
samtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Compress binary packages with xz.
[samtools.git]
/
bedidx.c
diff --git
a/bedidx.c
b/bedidx.c
index 34f0f2fb3ba0e40aaab31e4c8eca4140e4a5d458..ec75a1067f5905c69ead868ff42d2073189bb690 100644
(file)
--- a/
bedidx.c
+++ b/
bedidx.c
@@
-4,6
+4,10
@@
#include <stdio.h>
#include <zlib.h>
+#ifdef _WIN32
+#define drand48() ((double)rand() / RAND_MAX)
+#endif
+
#include "ksort.h"
KSORT_INIT_GENERIC(uint64_t)