This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Cygwin port patches
- From: Tom Tromey <tromey at redhat dot com>
- To: Jerome Marc <marcjero at yahoo dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 01 May 2002 13:36:07 -0600
- Subject: Re: Cygwin port patches
- References: <20020430222302.17098.qmail@web10804.mail.yahoo.com>
- Reply-to: tromey at redhat dot com
>>>>> "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