summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-05-01 18:37:35 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-05-01 20:15:13 +0200
commitb413922f74dbf2f5dbaae38f8c6f184529c008eb (patch)
tree0188f5c8687509509b3d3b9b677caa9bc002f98e /crawl-ref/source/files.h
parentbb538a1b7c873438c849be166403cd3cc44e8376 (diff)
downloadcrawl-ref-b413922f74dbf2f5dbaae38f8c6f184529c008eb.tar.gz
crawl-ref-b413922f74dbf2f5dbaae38f8c6f184529c008eb.zip
Old #ifdef purge: USE_FILE_LOCKING.
Skipping this just causes corruption if you start Crawl twice, and it was not supported only on DOS.
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index 280510516d..4c2447deff 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -125,10 +125,8 @@ FILE *lk_open(const char *mode, const std::string &file);
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, bool write);
bool unlock_file_handle(FILE *handle);
-#endif // USE_FILE_LOCKING
class file_lock
{