Fix win32 compilation
authorMikko Rasa <tdb@tdb.fi>
Tue, 22 Jul 2008 23:51:45 +0000 (23:51 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 22 Jul 2008 23:51:45 +0000 (23:51 +0000)
source/dir.cpp

index 612d017dd1735f1829e3db0c1cfe6f16c7659142..212200d04918a368b11a0f64050c3ee49cef938e 100644 (file)
@@ -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;