[Python-Dev] a few strdup() questions... (original) (raw)
Ulrich Eckhardt doomster at knuut.de
Thu Jan 8 10:39:54 CET 2009
- Previous message: [Python-Dev] a few strdup() questions...
- Next message: [Python-Dev] a few strdup() questions...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday 07 January 2009 16:30:23 Daniel Stutzbach wrote:
On Wed, Jan 7, 2009 at 5:30 AM, Ulrich Eckhardt <doomster at knuut.de> wrote: > MS Windows CE doesn't provide strdup(), so where should I put it? I guess > I should just compile in Python/strdup.c, right?
I'm not an expert on Windows CE, but I believe it calls the function "strdup()": http://msdn.microsoft.com/en-us/library/ms861162.aspx
Search with "Look in VC Include Directories" yields nothing. You are right though, the CE6 SDK I have does declare _strdup in stdlib.h and also provides an implementation to link with.
Summary: redefine strdup and work around the broken search feature.
thanks
Uli
- Previous message: [Python-Dev] a few strdup() questions...
- Next message: [Python-Dev] a few strdup() questions...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]