Lars Gullik Bjønnes wrote: > | Lars Gullik Bjønnes wrote: >>> | +#if defined (BOOST_WINDOWS) >>> | +# define WIN32_LEAN_AND_MEAN >>> | +# include <windows.h> >>> | +#endif >>> >>> If that is what is used in boost them ok. Else please use the same as >>> boost uses. >> > | Lars, get a grip please. Your commit was broken. It now works. The code > | is clean. So why the gripe? > > Eh? what have I done now? > > I just want fs_extras to compilie in the same environment as the > regular boost filesystem code.
Either the above enables the file to compile or it doesn't, no? Not even Windows would use WIN32_LEAN_AND_MEAN to change the meaning of DWORD. It exists solely to enable the developer to not drag in every single header file in the entire machine. What's the harm? -- Angus