This is the mail archive of the cygwin-patches 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]

Re: errno.h: ESTRPIPE


Corinna Vinschen wrote:
This is very Linux device specific and this never occurs on Cygwin.
What about just defining this error code to some arbitrary value like

  #ifdef __CYGWIN__
  #define ESTRPIPE 9999
  #endif

I like it. If there are any other errno constants supported by Linux but not Cygwin, you could also define them with the same value. It would effectively be the "this never happens" value.



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