Re: [PATCH:2] Export symbols when compiling a Cruntime library

Earnie Boyd <earnie_boyd-/[email protected]>
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
Casper Hornstrup wrote:
> 
> > ===snip==
> >
> > > Index: include/stdio.h
> > > ===================================================================
> > > RCS file: /cvsroot/mingw/runtime/include/stdio.h,v
> > > retrieving revision 1.8
> > > diff -u -r1.8 stdio.h
> > > --- include/stdio.h 14 Jun 2002 15:12:54 -0000 1.8
> > > +++ include/stdio.h 15 Jun 2002 11:43:07 -0000
> > > @@ -96,9 +96,16 @@
> > >   */
> > >  #define L_tmpnam (16)
> > >
> > > -#define _IOFBF 0x0000
> > > -#define _IOLBF 0x0040
> > > -#define _IONBF 0x0004
> > > +#define _IOFBF    0x0000
> > > +#define _IOLBF    0x0040
> > > +#define _IONBF    0x0004
> > > +
> > > +#define _IOMYBUF  0x0008
> > > +#define _IOEOF    0x0010
> > > +#define _IOERR    0x0020
> > > +#define _IOSTRG   0x0040
> > > +#define _IORW     0x0080
> > > +#define _IOAPPEND 0x0200
> > >
> > Can you document what these non-standard flags mean with some comments
> > please.?
> 
> I was under the impression that comments were basicly banned in mingw
> headers in order to minimize parsing time. Or is this only true in
> w32api? Anyways, I'll see if I can get more information on these and
> come up with some comments.
> 

Yes, it was said for w32api because most everything is included all at
once with `#include <windows.h>'.  That isn't the case with the runtime
headers.

Earnie.

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.