Boost logo

Boost-Build :

From: bjorn.karlsson_at_[hidden]
Date: 2003-03-27 02:33:25


> From: Vladimir Prus [mailto:ghost_at_[hidden]]
> If anybody has the time now, I attach the modified 'pwd.c'
> (which might not
> compile, since I could not even try that).
>

It seems to work as expected (although my understanding of what's expected
might not be correct...). To make it work out-of-the-box, we need to add a
#define for INVALID_FILE_ATTRIBUTES, which is missing if the Platform SDK
include files aren't available. Adding the code below should be sufficient:

#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
#endif

I've successfully built bjam.exe using your pwd.c with the modification
above, and running pwd.py expands the path as expected.

Bjorn

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk