delorie.com/archives/browse.cgi | search |
On Sun, Nov 05, 2000 at 12:05:28AM -0500, Jason Tishler wrote: >What about winsup/cygwin/include/sys/version.h? There is already stuff >like the following: > > /* Identifiers used in the Win32 registry. */ > > #define CYGWIN_INFO_CYGNUS_REGISTRY_NAME "Cygnus Solutions" > #define CYGWIN_INFO_CYGWIN_REGISTRY_NAME "Cygwin" > #define CYGWIN_INFO_PROGRAM_OPTIONS_NAME "Program Options" > #define CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME "mounts v2" > >I'm looking to add the following 3 #defines (with possibly better (i.e., >longer) names): > > #define CYGDRIVE_FLAGS "cygdrive flags" > #define CYGDRIVE_PREFIX "cygdrive prefix" > #define CYGDRIVE_DEFAULT_PREFIX "/cygdrive" > >Note that path.cc already includes both so I'm quite willing to use >either. I think that you mean cygwin/version.h. You're right. That is the right place for it. I was going to suggest this but somehow I thought that that header file wasn't available outside of the winsup tree. But, of course it is. The naming should be consistent, though. This should be CYGWIN_INFO_CYGDRIVE_FLAGS, etc. cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |