Change for compiling 1.5.2 on Windows NT Alpha

Scott C scothrell at austin.rr.com
Thu Apr 15 23:26:48 EDT 1999


Guido and fellow pythoneers...

There needs to be the following change in file fpectlmodule.c, line 163:

Line currently reads:  #elif defined(__alpha)

line should read: #elif defined(__alpha) && !defined(_MSC_VER)


Rationale:  The original line correctly identifies the DEC Alpha processor,
but not the OS.  Consequently, when compiled under NT 4 Alpha using MSVC
5.0, which defines __alpha (apparently), the wrong section is processed.
The additional logic prevents the Microsoft compiler from processing the
wrong section.

Scott Cothrell

PS: I have Alpha NT versions compiled for python15.dll and python.exe








More information about the Python-list mailing list