winbase.h & EXPCGF

Conrad Scott Conrad.Scott@dsl.pipex.com
Sun Jun 23 09:49:00 GMT 2002


There's a file "winbase.h" in the cygwin source directory that
"winsup.h" only allows to be included if EXPCGF is #defined. But there
are a lot of files that don't include "winsup.h" and so end up
including the local "winbase.h" unconditionally. I assume this isn't
deliberate but I may be overlooking something.

On the assumption that it *is* accidental, I've attached a patch that
moves the #ifdef EXPCGF test into "winbase.h" itself, which fixes it.

Nb. The files that currently see the contents of the local "winbase.h"
are:

automode.c
binmode.c
cygrun.c
cygserver.cc
cygserver_client.cc
cygserver_process.cc
cygserver_shm.cc
cygserver_transport.cc
cygserver_transport_pipes.cc
cygserver_transport_sockets.cc
cygwin_attach_dll.c
cygwin_crt0.c
dll_entry.c
dll_main.cc
gmon.c
libcmain.c
profil.c
textmode.c
threaded_queue.cc

// Conrad


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.txt
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20020623/5214ca4a/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winbase.patch
Type: application/octet-stream
Size: 1187 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20020623/5214ca4a/attachment.obj>


More information about the Cygwin-developers mailing list