diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-12-02 03:26:51 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-12-02 03:26:51 +0100 |
commit | 4180ca9b4b34b5f5499836cc400a4b585cf0c521 (patch) | |
tree | 35507284cd13dbeb83b60ae1812d23d8127aff88 /crawl-ref/source/files.h | |
parent | a82b27b5ab384984099007781721599b331071d6 (diff) | |
download | crawl-ref-4180ca9b4b34b5f5499836cc400a4b585cf0c521.tar.gz crawl-ref-4180ca9b4b34b5f5499836cc400a4b585cf0c521.zip |
Implement file locking on Windows.
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r-- | crawl-ref/source/files.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h index 17e4b6304d..9906d0e35a 100644 --- a/crawl-ref/source/files.h +++ b/crawl-ref/source/files.h @@ -134,7 +134,7 @@ void lk_close(FILE *handle, const char *mode, const std::string &file); // file locking stuff #ifdef USE_FILE_LOCKING -bool lock_file_handle(FILE *handle, int type); +bool lock_file_handle(FILE *handle, bool write); bool unlock_file_handle(FILE *handle); #endif // USE_FILE_LOCKING |