Quote:
Originally Posted by phx
@Leffmann: Can you confirm those conflicts? Or doesn't MSVC warn about it (which wouldn't surprise me)? Or maybe those are different windows.h, depending on the compiler used?
|
It's the same with VC, NEAR, ERROR, and ABSOLUTE are already defined. But that stuff can just live in its own file somewhere, IMO that's the best solution when you have a few small system dependent bits in an otherwise fully portable project.
Also thinking about what alpine9000 said, and on a network you may have paths that are much longer than those in the local file system (MAX_PATH, 260 characters), better replace that with 1000 or something.