Use #ifdef _WIN32 rather than WIN32
[libs/core.git] / source / io / file.cpp
index 666b1edc784b9fc9d0bc76cf29d77b82ff80b826..1b4a73884d7b5891a43c461d79901bd7e9d1a147 100644 (file)
@@ -39,7 +39,7 @@ unsigned File::do_write(const char *buf, unsigned size)
        if(size==0)
                return 0;
 
-#ifdef WIN32
+#ifdef _WIN32
        if(mode&M_APPEND)
                seek(0, S_END);
 #endif