[Patches] [ python-Patches-1492356 ] Windows CE support (part 1)

SourceForge.net noreply at sourceforge.net
Mon May 22 11:17:40 CEST 2006


Patches item #1492356, was opened at 2006-05-21 09:15
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1492356&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Luke Dunstan (infidel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Windows CE support (part 1)

Initial Comment:
This patch contains part of the changes necessary to 
build Python trunk for Windows CE 4.x using the 
freely downloadable Microsoft eMbedded Visual C++ 
4.0. I will submit more patches later.

The changes are:

- Replace use of intptr_t with Py_intptr_t 
(Py_intptr_t already exists)

- Created a macro to support 64-bit integer literals 
using the I64 suffix

- Guard #include <errno.h> with #ifndef 
DONT_HAVE_ERRNO_H (this macro was already used in a 
few places)

- Guard #include <fcntl.h> with #ifdef HAVE_FCNTL_H 
(this macro was already in pyconfig.h)

- Various small changes to PC/pyconfig.h, mostly to 
cater for header files that are not available for 
Windows CE

I have tested that this doesn't break anything by 
building the patched Python on Linux and running the 
test suite.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-05-22 11:17

Message:
Logged In: YES 
user_id=21627

Thanks for the patch, committed as r46064.

Notice that your changes to the dsw/dsp files are not
included, as these files are marked as binary.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1492356&group_id=5470


More information about the Patches mailing list