[Python-bugs-list] [ python-Bugs-417952 ] Borland spells timezone as _timezone
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 26 Apr 2001 22:27:50 -0700
Bugs item #417952, was updated on 2001-04-21 20:34
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417952&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Hansen (ixokai)
Assigned to: Tim Peters (tim_one)
Summary: Borland spells timezone as _timezone
Initial Comment:
Borland (to be difficult, I 'spose :))
spells 'timezone' 'daylight' and 'tzname' with an
underscore at the begenning. These errors are in the
inittime function.
The fix I used on my machine (just until I see how
ya'll do it officially) was to add the following lines
under '#include <time.h>' in pyport.h:
#ifdef __BORLANDC__
# define timezone _timezone
# define daylight _daylight
# define tzname _tzname
#endif
----------------------------------------------------------------------
>Comment By: Stephen Hansen (ixokai)
Date: 2001-04-26 22:27
Message:
Logged In: YES
user_id=200343
I submitted a patch (#418147) that corrects this and the
other problems w/ compiling Borland on Python.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417952&group_id=5470