Commit Graph

32 Commits

Author SHA1 Message Date
Tim Peters 7d3a511a40 Cray J90 fixes for long ints.
This was a convenient excuse to create the pyport.h file recently
discussed!
Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a
signed int and you *need* sign-extension.  This is #define'd in
pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS.
If you're running on a platform that needs that symbol #define'd,
the std tests never would have worked for you (in particular,
at least test_long would have failed).
The autoconfig stuff got added to Python after my Unix days, so
I don't know how that works.  Would someone please look into doing
& testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS
symbol?  It needs to be defined if & only if, e.g., (-1) >> 3 is
not -1.
2000-07-08 04:17:21 +00:00
Barry Warsaw cf053b15b5 Added #undef of WITH_CYCLE_GC for autoconf's delight. 2000-06-30 16:02:58 +00:00
Fred Drake a3f6e91307 This patch extends PC/config.h and configure.in as appropriate for
64-bit readiness (the config values are needed for patches that I will
be submitting later today. The changes are as follows:

- add SIZEOF_OFF_T #define's to PC/config.h (it was already in configure.in)

- add SIZEOF_TIME_T #define to PC/config.h and configure
Needed for some buffer overflow checking because sizeof(time_t) is
different on Win64.

- add SIZEOF_FPOS_T #define
Needed for the Win64 large file support implementation.

- add SIZEOF_HKEY in PC/config.h only
Needed for proper Win32 vs. Win64 handling in PC/winreg.c

- #define HAVE_LARGEFILE_SUPPORT for Win64

- typedef long intptr_t; for all Windows except Win64 (which defines it
itself)
This is a new ANSI (I think) type that is useful (and used by me) for
proper handling in msvcrtmodule.c and posixmodule.c

- indent the nested #ifdef's and #defines in PC/config.h
This is *so* much more readable. There cannot be a compiler
compatibilty issue here can there? Perl uses indented #defines and it
compiles with everything.
2000-06-29 20:44:47 +00:00
Guido van Rossum 07bd90e92d Andy Dustman: add GNU pth user-space thread support. 2000-05-08 13:41:38 +00:00
Guido van Rossum 59903fe2b5 Added tests for socklen_t 2000-04-24 15:12:04 +00:00
Guido van Rossum ef2255b1dd Part of the Unicode checkin for Marc-Andre Lemburg.
Some new configuration tests and a new option, --with-wctype-functions.
2000-03-10 22:30:29 +00:00
Guido van Rossum 85d8be5df0 Define HAVE_DYNAMIC_LOADING.
This is part of a set of patches by Greg Stein.
1999-12-20 21:24:37 +00:00
Guido van Rossum c6f6df3118 Correct stupid typo (HAVE_GETHOSTBTNAME). 1999-12-16 17:49:02 +00:00
Guido van Rossum e74c4291b2 Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).

See accompanying patches to configure.in and importdl.c.
1999-11-16 15:55:00 +00:00
Guido van Rossum 8137680704 For BeOS PowerPC. Chris Herborth. 1999-04-06 15:50:51 +00:00
Guido van Rossum 7152e9b483 Add symbols for gethostbyname_r variants (sigh). 1999-03-22 21:46:06 +00:00
Guido van Rossum 54ecc3d24f Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
Guido van Rossum f98e2a787e Changes for long file support by Steve Clift. 1999-01-06 18:53:34 +00:00
Guido van Rossum 252213673f Added BEOS_THREADS, HAVE_LONG_LONG, and SIZEOF_VOID_P templates. 1998-10-02 14:41:38 +00:00
Guido van Rossum b06df27843 --with-readline is obsolete (and some editorial stuff in README) 1997-08-05 21:50:20 +00:00
Guido van Rossum 443389fd2e Add MALLOC_ZERO_RETURNS_NULL symbol. 1997-07-10 22:43:05 +00:00
Guido van Rossum 7a24c37444 Move WANT_SIGFPE_HANDLER. 1997-05-09 02:41:10 +00:00
Guido van Rossum 4a3df1c936 Changes for Lee Busby's SIGFPE patch set.
New symbol WANT_SIGFPE_HANDLER.
1997-02-14 23:00:34 +00:00
Guido van Rossum 8e09a9ffa9 Add HAVE_OLD_CPP to list of known defines 1996-08-19 21:53:18 +00:00
Guido van Rossum 93ee6e0b63 Add entry for _REENTRANT macro 1996-07-31 17:35:30 +00:00
Guido van Rossum 94d46d52ad Added C_THREADS 1996-07-30 18:05:21 +00:00
Guido van Rossum 76be6eda96 The usual changes when a release is nearing... 1995-01-02 18:33:54 +00:00
Guido van Rossum 2bcafeb645 test for presence of stddef.h
separate arg requirements for getpgrp() and setpgrp()
1994-10-20 22:06:56 +00:00
Guido van Rossum dabb11b2a2 add test for volatile 1994-10-11 15:04:27 +00:00
Guido van Rossum 32d8ba4b08 * Makefile.in (Makefile): add dependency on config.status
* configure.in: support --with-gcc[=value], --without-gcc
* configure.in, acconfig.h, config.h.in: check for clock_t
1994-07-01 15:28:52 +00:00
Guido van Rossum 0039f51e9c changed GETPGRP_HAVE_ARGS into GETPGRP_HAVE_ARG 1994-06-23 12:17:51 +00:00
Guido van Rossum c5832ffdba Changes for posix threads 1994-05-09 15:10:49 +00:00
Guido van Rossum aff6906e6a Added HAVE_STDARG_PROTOTYPES and signed 1994-02-15 15:52:14 +00:00
Guido van Rossum 4c627be931 Small changes 1994-01-13 15:47:04 +00:00
Guido van Rossum 2712c162f2 Lots of minor stuff, install prefix, LIBM/LIBC, bad static forward,
irix4 and GNU dynamic loading, version 1.0.0 BETA 6
1994-01-11 12:00:38 +00:00
Guido van Rossum f1009e8373 * README: describe new build procedure; added section on building
for multiple architectures
* acconfig.h: fix (reversed!) comment for SYS_SELECT_WITH_SYS_TIME
1994-01-04 23:29:10 +00:00
Guido van Rossum 79556aab81 redid build process; added --with-svr4; renamed USE_THREAD to
WITH_THREAD; bumped version to 1.0.0 BETA 3
1994-01-04 22:02:27 +00:00