]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/dir.cpp
Use #ifdef _WIN32 rather than WIN32
[libs/core.git] / source / fs / dir.cpp
index 9c6a97a8318ceaccb77c2d708f7ae65a45f3d951..717c11c132d7e4fe6e99995827e4918d443062fb 100644 (file)
@@ -20,7 +20,7 @@ namespace
 
 enum
 {
-#ifdef WIN32
+#ifdef _WIN32
        ITEMSEP = ';'
 #else
        ITEMSEP = ':'
@@ -73,7 +73,7 @@ void mkpath(const Path &path, int mode)
        for(Path::Iterator i=path.begin(); i!=path.end(); ++i)
        {
                p /= *i;
-#ifdef WIN32
+#ifdef _WIN32
                if(p.size()==1 && p.is_absolute())
                        continue;
 #endif