Index: path_posix_windows.cpp =================================================================== RCS file: /cvsroot/boost/boost/libs/filesystem/src/path_posix_windows.cpp,v retrieving revision 1.17 diff -u -p -r1.17 path_posix_windows.cpp --- path_posix_windows.cpp 29 Jul 2004 11:00:58 -0000 1.17 +++ path_posix_windows.cpp 14 Sep 2004 15:06:49 -0000 @@ -300,7 +300,10 @@ namespace boost { // append '/' if needed if ( !empty() - && *(m_path.end()-1) != ':' && *(m_path.end()-1) != '/' ) +# ifdef BOOST_WINDOWS + && *(m_path.end()-1) != ':' +# endif + && *(m_path.end()-1) != '/' ) m_path += '/'; // parent-directory