diff options
Diffstat (limited to 'lib-src/update-game-score.c')
-rw-r--r-- | lib-src/update-game-score.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index ad591cca87a..cb6fdf73590 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c @@ -443,7 +443,7 @@ write_scores (const char *filename, const struct score_entry *scores, fd = mkostemp (tempfile, 0); if (fd < 0) return -1; -#ifndef WINDOWSNT +#ifndef DOS_NT if (fchmod (fd, 0644) != 0) return -1; #endif @@ -459,7 +459,7 @@ write_scores (const char *filename, const struct score_entry *scores, return -1; if (rename (tempfile, filename) != 0) return -1; -#ifdef WINDOWSNT +#ifdef DOS_NT if (chmod (filename, 0644) < 0) return -1; #endif |