> From: "Robert Collins" <[EMAIL PROTECTED]>
> 
> > From: bruno patin (travail) [mailto:[EMAIL PROTECTED]]
> > 
> > as a matter of fact, I'll speak of Mico. There is at least 
> > one problem 
> > with the porting. In the file mico/include/mico/os-misc.h, 
> > there is in 
> > an enumerate an initialisation with the value X_OK. But the file 
> > unistd.h (in sys) define this value as : define X_OK 
> > _cygwin_X_OK and it 
> > is not an integer so you have an error at the compilation of 
> > the file in 
> > mico that include os-misc.h. I replace X_OK directly by the 
> > value of one 
> > (not a great feat and subject to other error I know). But what is the 
> > meaning of this define of X_OK in cygwin ?
> 
> It's exported from libcygwin.a
> (look in unistd.h - you should see
> extern const unsigned _cygwin_X_OK;)

That looks like an implementation bug - X_OK is supposed to be
defined as a constant in <unistd.h>.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to