export signgam

Mumit Khan khan@NanoTech.Wisc.EDU
Thu Jul 26 14:00:00 GMT 2001


On Thu, 26 Jul 2001, Charles Wilson wrote:

> signgam is a global variable; math.h #defines it as
> #define signgam (*__signgam())

It's a field in the _reent struct. I sent a workaround a while back, and
you could use that as a starting point.

One way to do this uniformly is to export __reent from Cygwin (alias to
reent_data or whatever it is called), and then define signgam in math.h 
without having to worry about whether it's Cygwin or not.

Mumit




More information about the Cygwin-developers mailing list