use _WIN32, not WIN32

This commit is contained in:
Dwight
2011-05-11 11:45:47 -04:00
parent 22bcccded3
commit fb3fac3dff
6 changed files with 10 additions and 17 deletions

View File

@@ -41,7 +41,7 @@ namespace mongo {
return false;
}
#if !defined(WIN32)
#if !defined(_WIN32)
// check permissions: must be X00, where X is >= 4
if ((stats.st_mode & (S_IRWXG|S_IRWXO)) != 0) {
log() << "permissions on " << filename << " are too open" << endl;