]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/call1.c
for WIN32 compatibility
[samtools.git] / bcftools / call1.c
index b2d7d4a197b112ea10c6caf3ad4a9a13d95b1298..69bd5f7700698dfe39207695328220a4d8eba248 100644 (file)
@@ -8,6 +8,11 @@
 #include "kstring.h"
 #include "time.h"
 
+#ifdef _WIN32
+#define srand48(x) srand(x)
+#define lrand48() rand()
+#endif
+
 #include "kseq.h"
 KSTREAM_INIT(gzFile, gzread, 16384)