Cygwin port patches

Tom Tromey tromey@redhat.com
Wed May 1 12:28:00 GMT 2002


>>>>> "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?

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?

Tom



More information about the Java-patches mailing list