source: anuga_core/source/pymetis/win32/random.c @ 4985

Last change on this file since 4985 was 2098, checked in by jack, 19 years ago

Another take on getting pymetis to build with MinGW.

File size: 122 bytes
Line 
1#include <stdlib.h>
2
3double drand48(){
4  return (((double)rand())/RAND_MAX);
5}
6
7void srand48(long seed){
8  srand(seed);
9}
Note: See TracBrowser for help on using the repository browser.