This is the mail archive of the cygwin-developers@cygwin.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]
Other format: [Raw text]

winbase.h & EXPCGF


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


Attachment: ChangeLog.txt
Description: Text document

Attachment: winbase.patch
Description: Binary data


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