summaryrefslogtreecommitdiffstats
path: root/PC/config.h
Commit message (Collapse)AuthorAgeFilesLines
* Trent Mick:Guido van Rossum2000-05-101-1/+4
| | | | | | | | | | | | | | Use "win32" for sys.platform on Win64 instead of "win32" because: 1. While it may be confusing to the Python scriptor on Win64 that he has to check for win*32*, that is something that he will learn the first time. It is better than the alternative of the scriptor happily using "win64" and then that code not running on Win32 for no good reason. 2. The main question is: is Win64 so much more like Win32 than different from it that the common-case general Python programmer should not ever have to make the differentiation in his Python code. Or, at least, enough so that such differentiation by the Python scriptor is rare enough that some other provided mechanism is sufficient (even preferable). Currently the answer is yes. Hopefully MS will not change this answer.
* Trent Mick:Guido van Rossum2000-05-081-23/+57
| | | | | | | | | | | | | | | | | | | | Changes to PC\config.[hc] for Win64. MSVC defines _WINxx to differentiate the various windows platforms. Python's MS_WINxx are keyed off of these. Note that _WIN32 (and hence MS_WIN32 in Python) are defined on Win32 *and* on Win64. This is for compatibility reasons. The idea is that the common case is that code specific to Win32 will also work on Win64 rather than being specific to Win32 (i.e. there is more the same than different in WIn32 and Win64). The following modules are specifically excluded in the Win64 build: audioop, binascii, imageop, rgbimg. They are advertised as heavily 32-bit dependent. [They should probably be fixed! --GvR] The patch to config.h looks big but it really is not. These are the effective changes: - MS_WINxx are keyed off _WINxx - SIZEOF_VOID_P is set to 8 for Win64 - COMPILER string is changed appropriately for Win64
* Add definition of socklen_t so that socketmodule.c will compile on Windows.Guido van Rossum2000-04-241-0/+3
|
* Change the pragmas to use python16.lib instead of python15.lib. (TookGuido van Rossum2000-03-291-2/+2
| | | | me half an hour to find why it was still linking with python15.dll!)
* The rest of the changes by Trent Mick and Dale Nagata for warning-freeGuido van Rossum2000-01-201-1/+6
| | | | compilation on NT Alpha. Mostly added casts etc.
* Add HAVE_DYNAMIC_LOADING.Guido van Rossum1999-12-201-0/+4
| | | | Define Py_DEBUG when compiling in debug mode. (Is that a good idea?)
* Set the max recursion limit to 5000 -- rather conservative (this usesGuido van Rossum1999-06-091-0/+7
| | | | 0.5 MB of the 1 MB available by default for stack on Win32 platforms).
* Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).Guido van Rossum1999-01-141-0/+9
|
* Need to define DL_EXPORT, of course!Guido van Rossum1998-12-101-0/+1
|
* Add define of HAVE_STDDEF_H (to 1). Suggested by Greg Stein.Guido van Rossum1998-09-231-0/+3
|
* Patches from Greg Stein to support 'P' format in struct module'sGuido van Rossum1998-09-181-0/+6
| | | | | native format, as void* (translated to Python int or long). Also adds PyLong_FromVoidPtr and PyLong_AsVoidPtr to longobject.c.
* Define SIZEOF_LONG_LONG (as 8) at Greg Stein's request.Guido van Rossum1998-09-171-0/+1
|
* Patch by Mark Hammond to support 64-bit ints on MS platforms.Guido van Rossum1998-08-251-0/+2
| | | | | | The MS compiler doesn't call it 'long long', it uses __int64, so a new #define, LONG_LONG, has been added and all occurrences of 'long long' are replaced with it.
* Define HAVE_STRERROR.Guido van Rossum1998-08-121-0/+1
|
* Shouldn't include the lib pragma when building python15.dll itself!Guido van Rossum1998-08-081-0/+2
|
* For Win32, added pragmas specifying the python15[_d].lib library.Guido van Rossum1998-08-071-0/+7
|
* Quick fix -- define SIZEOF_LONG and SIZEOF_INT.Guido van Rossum1998-05-291-0/+4
|
* Oops, ".\DLLs" should be in the default path now.Guido van Rossum1998-04-111-1/+1
|
* Add HAVE_MKTIME.Guido van Rossum1998-04-101-0/+3
|
* Enable CHECK_IMPORT_CASE on Win32.Guido van Rossum1998-02-191-0/+10
|
* win -> plat-winGuido van Rossum1997-11-221-3/+3
|
* Fix PYTHONPATH for new names; rename tkinter to lib-tk, rename win toGuido van Rossum1997-09-301-1/+1
| | | | plat-win, get rid of test (which is now a package).
* Remove #ifdef __cplusplus.Guido van Rossum1997-09-291-6/+6
|
* Remove #define main; remove vc40 from PYTHONPATH.Guido van Rossum1997-08-131-2/+1
|
* Typo! \\lib\\<path> should be .\\lib\\<path>Guido van Rossum1997-05-141-1/+1
|
* Longer default PYTHONPATH will find test, tkinter, and shared modulesGuido van Rossum1997-05-131-1/+1
| | | | in the build tree, when the current directory is the build tree root.
* Added HAVE_ macros for getpeername, getpid, setvbuf.Guido van Rossum1997-05-061-2/+5
|
* It turns out that VC1.5 does not necessarily define _WINDOWS.Guido van Rossum1996-10-221-2/+0
|
* Add an XXX comment about apparent incompleteness of Borland defines.Guido van Rossum1996-10-211-0/+1
|
* Use MS_DLL_ID and similar changesGuido van Rossum1996-08-231-4/+0
|
* More changes for NT, Guido styleGuido van Rossum1996-08-221-2/+16
|
* New versions of almost all files.Guido van Rossum1996-07-301-9/+46
|
* Added PC files from Jim Ahlstrom.Guido van Rossum1996-06-281-7/+34
|
* new versions from Jim AGuido van Rossum1996-06-261-10/+0
|
* config files for DOS and Windows (all versions, all compilers)Guido van Rossum1996-05-281-0/+406