From: Mikko Rasa Date: Tue, 22 Jul 2008 23:51:45 +0000 (+0000) Subject: Fix win32 compilation X-Git-Tag: fs-1.0~2 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=4dda68c467fe1e759e0d67e4ec844ac0130e6127;p=libs%2Fcore.git Fix win32 compilation --- diff --git a/source/dir.cpp b/source/dir.cpp index 612d017..212200d 100644 --- a/source/dir.cpp +++ b/source/dir.cpp @@ -46,7 +46,7 @@ void mkpath(const Path &path, int mode) { p/=*i; #ifdef WIN32 - if(p.size()==1 && is_windows_drive(*i)) + if(p.size()==1 && p.is_absolute()) continue; #endif struct stat st;