Yes, we should have some meta-#define and set it via configure. -Christian
On Sunday, September 18, 2011 02:25:40 PM Will Bryant wrote: > That sounds workable. > > I'd be a little reluctant to sprinkle lists of platforms in ifdefs > throughout the project - we'd be too likely to miss one bit of code when > adding a new platform to the list. So should we set a conditional define, > say HAVE_LISTEN_SHUTDOWN, and if it's not set we run the old pipe code? > And set this based on the platform somewhere in the autotools stuff? > > I presume the cygwin target can use the pipe solution too, as a brief > google suggests it has a working pipe().