summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7117 (backport py3k float repr) continued:Mark Dickinson2009-10-241-0/+4
| | | | | | | | | - add double endianness detection to configure script - add configure-time check to see whether we can use inline assembly to get and set x87 control word in configure script - add functions to get and set x87 control word in Python/pymath.c - add pyport.h logic to determine whether it's safe to use the short float repr or not
* Issue #4856: Remove checks for win NT.Hirokazu Yamamoto2009-06-281-6/+0
|
* Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.Hirokazu Yamamoto2009-05-171-4/+0
|
* Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson2009-03-201-0/+36
| | | | Backport of r70459.
* Issue #4895: Use _strdup on Windows CE.Martin v. Löwis2009-01-111-0/+6
|
* isinf and isnan are macros, not functions; fix configure scriptMark Dickinson2009-01-041-3/+3
| | | | | to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these. (See discussion in issue #4506)
* Update version number to 2.7.Martin v. Löwis2008-10-031-2/+2
|
* Restore support for Microsoft VC6 compiler.Amaury Forgeot d'Arc2008-06-131-7/+0
| | | | | | | Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler)
* I finally got the time to update and merge Mark's and my trunk-math branch. ↵Christian Heimes2008-04-181-2/+3
| | | | | | The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
* 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
|