* timemodule.c: Add hack for Solaris 2.

* posixmodule.c: don't prototype getcwd() -- it's not portable...
* mappingobject.c: double-check validity of last_name_char in
  dict{lookup,insert,remove}.
* arraymodule.c: need memmove only for non-STDC Suns.
* Makefile: comment out HTML_LIBS and XT_USE by default
* pythonmain.c: don't prototype getopt() -- it's not standardized
* socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to
  recvfrom() to (ANY*).
* pythonrun.c (initsigs): fix prototype, make it static
* intobject.c (LONG_BIT): only #define it if not already defined
* classobject.[ch]: remove all references to unused instance_convert()
* mappingobject.c (getmappingsize): Don't return NULL in int function.
This commit is contained in:
Guido van Rossum 1993-11-23 17:53:17 +00:00
parent 83eb962528
commit b376a4ad18
11 changed files with 31 additions and 29 deletions

View file

@ -72,6 +72,13 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif /* !unix */
#ifdef SYSV
#if defined(sun) && defined(__STDC__)
/* Temporary hack for Solaris 2. */
#define _timezone timezone
#define _altzone altzone
#define _daylight daylight
#define _tzname tzname
#endif
/* Access timezone stuff */
#ifdef OLDTZ /* ANSI prepends underscore to these */
#define _timezone timezone /* seconds to be added to GMT */