Cygwin port patches
Jerome Marc
marcjero@yahoo.com
Wed May 1 15:06:00 GMT 2002
--- Tom Tromey <tromey@redhat.com> a écrit : > >>>>>
"Jerome" == Jerome Marc <marcjero@yahoo.com>
> writes:
>
> Jerome> +#ifdef HAVE_SYS_IOCTL_H
> Jerome> +#define BSD_COMP
> Jerome> +#include <sys/ioctl.h>
> Jerome> +#endif
>
> What does BSD_COMP do?
> Is this a Cygwin- or Windows-specific thing?
I don't think this line is really useful, I just get
this lines from natFileDescriptorPosix.cc
The fix is just for the ioctl function.
>
> Jerome> #elif HAVE_TIMEZONE
> Jerome> // timezone is secs WEST of UTC.
> Jerome> + #ifdef __CYGWIN__
> Jerome> + tzoffset = _timezone;
> Jerome> + #elif
> Jerome> tzoffset = timezone;
> Jerome> + #endif
>
> How can HAVE_TIMEZONE be set if the symbol is named
> _timezone?
> Is there a better way to get this information on
> Cygwin?
Well the symbol timezone exists in Cygwin but its type
is not "long". This is why configure finds it.
The symbol _timezone seems to be what we are looking
for.
>
> Tom
I'll post another fix later about "make install" :
there is trouble with .exe extensions while copying
libjava utilities.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the Java-patches
mailing list