diff -r b71f8ff62046 -r e92071fadd3f lemon/bits/mingw32_rand.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lemon/bits/mingw32_rand.h Mon Apr 03 19:47:37 2006 +0000 @@ -0,0 +1,37 @@ +/* -*- C++ -*- + * + * This file is a part of LEMON, a generic C++ optimization library + * + * Copyright (C) 2003-2006 + * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport + * (Egervary Research Group on Combinatorial Optimization, EGRES). + * + * Permission to use, modify and distribute this software is granted + * provided that this copyright notice appears in all copies. For + * precise terms see the accompanying LICENSE file. + * + * This software is provided "AS IS" with no warranty of any kind, + * express or implied, and with no claim as to its suitability for any + * purpose. + * + */ + +#ifndef LEMON_BITS_MINGW32_RAND_H +#define LEMON_BITS_MINGW32_RAND_H + + +#ifdef WIN32 + +double drand48(void); +double erand48(unsigned short xsubi[3]); +long int lrand48(void); +long int nrand48(unsigned short xsubi[3]); +long int mrand48(void); +long int jrand48(unsigned short xsubi[3]); +void srand48(long int seedval); +unsigned short *seed48(unsigned short seed16v[3]); +void lcong48(unsigned short param[7]); + +#endif + +#endif