This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: export signgam
- To: Charles Wilson <cwilson at ece dot gatech dot edu>
- Subject: Re: export signgam
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Thu, 26 Jul 2001 15:38:58 -0500 (CDT)
- cc: cygwin-developers at cygwin dot com
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