summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* One #ifdef too much, and I broke all windows buildbots:Amaury Forgeot d'Arc2008-03-281-2/+0
| | | | | | in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules. Let this line even for older SDKs, they don't use it anyway.
* Repair compilation for Visual Studio 2005.Amaury Forgeot d'Arc2008-03-281-0/+6
| | | | | | | I applied the same changes manually to VS7.1 and VC6 files; completely untested. (Christian, don't try too hard merging this change into py3k. It will be easier to do the same work again on the branch)
* Revert commit accidentChristian Heimes2008-03-271-3/+2
|
* Hopefully added _fileio module to the Windows build systemChristian Heimes2008-03-271-2/+3
|
* Issue #1706: Require Windows 2000+Christian Heimes2008-02-091-4/+9
| | | | | | Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too Added -d option to build.bat (same as -c Debug) and fixed warning about /build option Updated Windows related readme.txt files
* Applied patch #1635: Float patch for inf and nan on Windows (and other ↵Christian Heimes2007-12-181-0/+9
| | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms.
* Several Windows related cleanups:Christian Heimes2007-12-061-6/+0
| | | | | | | | | | * Removed a #define from pyconfig.h. The macro was already defined a few lines higher. * Fixed path to tix in the build_tkinter.py script * Changed make_buildinfo.c to use versions of unlink and strcat which are considered safe by Windows (as suggested by MvL). * Removed two defines from pyproject.vsprops that are no longer required. Both are defined in pyconfig.h and make_buildinfo.c doesn't use the unsafe versions any more (as suggested by MvL). * Added some more information about PGO and the property files to PCbuild9/readme.txt. Are you fine with the changes, Martin?
* Although pyconfig.h claims that WIN32 is obsolete it is still required for ↵Christian Heimes2007-12-011-1/+3
| | | | the locale module. locale.getdefaultlocale() fails silently w/o the WIN32 macro.
* Bug #1216: Restore support for Visual Studio 2002.Martin v. Löwis2007-10-121-2/+2
| | | | Will backport to 2.5.
* Correct use of Py_BUILD_CORE - now make sure it is defined before it isMark Hammond2007-07-301-7/+7
| | | | | referenced, and also fix definition of _WIN32_WINNT. Resolves patch 1761803.
* Correctly detect AMD64 architecture on VC2003Mark Hammond2007-07-271-1/+1
|
* In consultation with Kristjan Jonsson, only define WINVER and _WINNT_WIN32Mark Hammond2007-07-271-4/+18
| | | | if (a) we are building Python itself and (b) no one previously defined them
* Patch #1734014: Use _I64_MAX instead of LLONG_MAX.Martin v. Löwis2007-06-141-3/+3
| | | | Will backport to 2.5.
* Fix Windows build.Martin v. Löwis2007-06-091-1/+1
|
* Patch #1733960: Allow T_LONGLONG to accept ints.Martin v. Löwis2007-06-091-0/+6
| | | | Will backport to 2.5.
* Remove definition of PY_UNICODE_TYPE from pyconfig.h, allowing theMark Hammond2007-05-231-11/+2
| | | | | definition in unicodeobject.h to be used, giving us the desired wchar_t in place of 'unsigned short'. As discussed on python-dev.
* Revert compiler comment to AMD64 for x64/AMD64 builds.Kristján Valur Jónsson2007-05-041-1/+1
|
* Fix problems in x64 build that were discovered by the testsuite:Kristján Valur Jónsson2007-05-031-5/+18
| | | | | | | | | | | | - Reenable modules on x64 that had been disabled aeons ago for Itanium. - Cleared up confusion about compilers for 64 bit windows. There is only Itanium and x64. Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above. - Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms. - Fixed thread_nt.h. The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier. Anyway, win95 is no longer a target platform. - Itertools module used wrong constant to check for overflow in count() - PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member. - PyLong_FromSsize_t() incorrectly specified that the operand were unsigned. With these changes, the x64 passes the testsuite, for those modules present.
* Conditionalize definition of _CRT_SECURE_NO_DEPRECATEMartin v. Löwis2006-11-211-0/+4
| | | | | and _CRT_NONSTDC_NO_DEPRECATE. Will backport.
* Try to get Windows bots working againNeal Norwitz2006-08-181-2/+2
|
* Patch #1495999: Part two of Windows CE changes.Martin v. Löwis2006-06-101-2/+44
| | | | | | - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c
* Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.Kristján Valur Jónsson2006-06-091-0/+6
| | | | Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
* Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for ↵Kristján Valur Jónsson2006-05-251-0/+1
| | | | this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms
* Define SIZEOF_{DOUBLE,FLOAT} on Windows. ElseTim Peters2006-05-221-1/+3
| | | | | Michael Hudson's nice gimmicks for IEEE special values (infinities, NaNs) don't work.
* Patch #1492356: Port to Windows CE (patch set 1).Martin v. Löwis2006-05-221-4/+42
|
* lower-case time_t.Martin v. Löwis2006-03-061-1/+1
|
* Patch #1437769: notice that time_t is a 64-bit type in VS2005Martin v. Löwis2006-03-061-1/+6
|
* Merge ssize_t branch.Martin v. Löwis2006-02-151-0/+10
|
* Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.Martin v. Löwis2006-02-111-0/+5
| | | | Proposed by Tim Peters.
* Fix typo.Walter Dörwald2005-11-301-1/+1
|
* Silence VS2005 warnings about deprecated functions.Martin v. Löwis2005-11-291-0/+10
|
* Update import library name on windows.Thomas Heller2004-12-011-2/+2
|
* Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x.Martin v. Löwis2004-10-151-2/+4
|
* Introduced a Py_IS_NAN macro, which probably works on the major platformsTim Peters2004-09-231-0/+4
| | | | | | today. pyconfig.h can override it if not, and can also override Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now for Microsoft compilers, using efficient MS-specific spellings.
* Restore compilation on MSVC++ 6.0Raymond Hettinger2004-08-031-2/+4
|
* Use intptr_t/uintptr_t on WindowsMartin v. Löwis2004-07-271-0/+8
|
* Properly check for Win64 compilers.Martin v. Löwis2004-07-271-0/+4
|
* remove support for missing ANSI C header files (limits.h, stddef.h, etc).Skip Montanaro2004-02-101-13/+0
|
* Remove support for --without-universal-newlines (see PEP 11).Skip Montanaro2004-02-071-3/+0
|
* Remove support for SunOS 4.Skip Montanaro2004-01-171-4/+0
| | | | Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
* Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dldSkip Montanaro2004-01-171-18/+0
|
* Remove support for minix.Skip Montanaro2004-01-171-3/+0
| | | | Remove unused and unnecessary checks for sizeof(char).
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Complete move of windows builds to 2.4alphaMark Hammond2003-07-311-2/+2
|
* Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis2003-03-291-4/+4
|
* Use wcscoll for _locale.strcoll if available.Martin v. Löwis2002-12-211-0/+6
|
* Forgot a paren in the MSVC + 64-bit + Intel case.Tim Peters2002-11-111-1/+1
|
* Some help for SF 614770: MSVC 7.0 compiler supportTim Peters2002-11-111-20/+33
| | | | | | | | | | | | | | | This changes sys.version under Microsoft builds to include the MS compiler version number (_MSC_VER). Since VC 6 and VC 7 are apparently incompatible, and both can be installed on a single box, distutils needs some way to figure out which version of MSVC a given Python was compiled under. As also suggested by MvL, got rid of #ifdef'ery for the defunct _M_ALPHA target. Bugfix candidate? Hard to say. As far as I'm concerned, VC 7 wasn't a supported platform in the 2.2 line. If somebody thinks it should be, they can do the work.
* Patch 594001: PEP 277 - Unicode file name support for Windows NT.Mark Hammond2002-10-031-0/+4
|
* Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.Mark Hammond2002-07-191-175/+82
|