This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cygwin32 /drand48



Use srandom / random, they are supported in B19

do something like 
#ifdef CYGWIN32
#define rand48 random
#endif


T

/*
 * Sven-Thorsten Dietrich
 * Software Component & Timing Solutions 
 * Trimble Navigation, Ltd.     
 * 
 * 645 North Mary Ave.    (408) 481-7289 (Voice)                  
 * Sunnyvale, CA 94088    (408) 481-2011 (Fax)
 */

> ----------
> From:
> grimmer@dbag.ulm.DaimlerBenz.COM[SMTP:grimmer@dbag.ulm.DaimlerBenz.COM
> ]
> Sent: 	Thursday, April 16, 1998 10:03 PM
> To: 	gnu-win32@cygnus.com
> Cc: 	grimmer@saturn.dbft.daimlerbenz.com
> Subject: 	cygwin32 /drand48
> 
> > Hello,
> > 
> > I just tried to port two programs from UNIX to NT 4.0. I used the
> > gnu-win32 beta 18 release for building the programs. Unfortunately,
> > both programs are calling the drand48() function which seems not to 
> > be included in the cgywin.dll or elsewhere in the package.
> > 
> > Could you, please, give me a pointer where I could get the appro-
> > priate include files from? 
> > 
> > I would appreciate any help very much!
> > 
> > Best regards,
> > 
> > Udo Grimmer
> > 
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > 
> >         Daimler-Benz AG, FT3/KL
> >         Udo Grimmer
> >         P.O.box 2360
> >         89013 Ulm / Germany
> > 
> >  Phone: + 49 731 / 505 - 2850
> >  Fax:   + 49 731 / 505 - 4210
> >  Email: grimmer@dbag.ulm.DaimlerBenz.COM
> > 
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > 
> 
> 
> -- 
> Geoffrey Noer
> noer@cygnus.com
> ------------- End Forwarded Message -------------
> 
> -
> For help on using this list (especially unsubscribing), send a message
> to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]